Last active
August 29, 2015 14:04
-
-
Save asmeurer/d048e65f7fb8f4fb59b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mkdir build | |
cd build | |
CXXFLAGS=-stdlib=libc++ cmake \ | |
-D WITH_PYTHON:BOOL=ON \ | |
-D GMP_INCLUDE_DIR="$PREFIX/include" \ | |
-D CMAKE_INSTALL_PREFIX=$PREFIX \ | |
.. | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source tree in: /Users/aaronmeurer/anaconda/conda-bld/work | |
+ mkdir build | |
+ cd build | |
+ CXXFLAGS=-stdlib=libc++ | |
+ cmake -D WITH_PYTHON:BOOL=ON -D GMP_INCLUDE_DIR=/Users/aaronmeurer/anaconda/envs/_build/include -D CMAKE_INSTALL_PREFIX=/Users/aaronmeurer/anaconda/envs/_build .. | |
-- The C compiler identification is Clang 5.1.0 | |
-- The CXX compiler identification is unknown | |
-- Check for working C compiler: /usr/bin/gcc | |
-- Check for working C compiler: /usr/bin/gcc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- broken | |
CMake Error at /Users/aaronmeurer/anaconda/envs/_build/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE): | |
The C++ compiler "/usr/bin/c++" is not able to compile a simple test | |
program. | |
It fails with the following output: | |
Change Dir: /Users/aaronmeurer/anaconda/conda-bld/work/build/CMakeFiles/CMakeTmp | |
Run Build Command:/sw/bin/make "cmTryCompileExec2848739961/fast" | |
/sw/bin/make -f CMakeFiles/cmTryCompileExec2848739961.dir/build.make | |
CMakeFiles/cmTryCompileExec2848739961.dir/build | |
make[1]: Entering directory | |
`/Users/aaronmeurer/anaconda/conda-bld/work/build/CMakeFiles/CMakeTmp' | |
/Users/aaronmeurer/anaconda/envs/_build/bin/cmake -E cmake_progress_report | |
/Users/aaronmeurer/anaconda/conda-bld/work/build/CMakeFiles/CMakeTmp/CMakeFiles | |
1 | |
Building CXX object | |
CMakeFiles/cmTryCompileExec2848739961.dir/testCXXCompiler.cxx.o | |
/usr/bin/c++ -stdlib=libc++ -o | |
CMakeFiles/cmTryCompileExec2848739961.dir/testCXXCompiler.cxx.o -c | |
/Users/aaronmeurer/anaconda/conda-bld/work/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx | |
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X | |
10.7 or later) | |
make[1]: *** | |
[CMakeFiles/cmTryCompileExec2848739961.dir/testCXXCompiler.cxx.o] Error 1 | |
make[1]: Leaving directory | |
`/Users/aaronmeurer/anaconda/conda-bld/work/build/CMakeFiles/CMakeTmp' | |
make: *** [cmTryCompileExec2848739961/fast] Error 2 | |
CMake will not be able to correctly generate this project. | |
Call Stack (most recent call first): | |
CMakeLists.txt:5 (project) | |
-- Configuring incomplete, errors occurred! | |
Command failed: /bin/bash -x -e /Users/aaronmeurer/Documents/Continuum/conda-recipes/csympy/build.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment