diff options
author | TheCharlatan <seb.kung@gmail.com> | 2018-10-17 13:56:01 +0200 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2018-10-18 11:54:20 +0200 |
commit | 109717a5fdfc9251997cab4933af6c8608d2bf9e (patch) | |
tree | 1062e1b28a5fe2e113af9964aa7b4121e55c803e | |
parent | Merge pull request #4610 (diff) | |
download | monero-109717a5fdfc9251997cab4933af6c8608d2bf9e.tar.xz |
Remove Travis check in depends toolchain file
The architecture for darwin is now detected correctly, remove the
override for it.
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | contrib/depends/toolchain.cmake.in | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml index 6a9b9b94b..ca3a24ae8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,7 +58,7 @@ script: - export TRAVIS_COMMIT_LOG=`git log --format=fuller -1` - OUTDIR=$BASE_OUTDIR/$TRAVIS_PULL_REQUEST/$TRAVIS_JOB_NUMBER-$HOST - if [ -z "$NO_DEPENDS" ]; then $DOCKER_EXEC ccache --max-size=$CCACHE_SIZE; fi - - $DOCKER_EXEC bash -c "mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/contrib/depends/$HOST/share/toolchain.cmake -DTRAVIS=true .. && make $MAKEJOBS" + - $DOCKER_EXEC bash -c "mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=$TRAVIS_BUILD_DIR/contrib/depends/$HOST/share/toolchain.cmake .. && make $MAKEJOBS" - export LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/contrib/depends/$HOST/lib after_script: - echo $TRAVIS_COMMIT_RANGE diff --git a/contrib/depends/toolchain.cmake.in b/contrib/depends/toolchain.cmake.in index 66168facb..f59b7b5ee 100644 --- a/contrib/depends/toolchain.cmake.in +++ b/contrib/depends/toolchain.cmake.in @@ -51,9 +51,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") SET(APPLE True) SET(BUILD_TAG "mac-x64") SET(BUILD_64 ON) - if(NOT TRAVIS) - SET(ARCH "x86_64") - endif() SET(BREW OFF) SET(PORT OFF) SET(CMAKE_OSX_SYSROOT "@sdk@/MacOSX10.11.sdk/") |