From: Jeffrey W. <nol...@gm...> - 2013-09-29 02:49:58
|
This Cmake is a real piece of shit.... Cmake is stripping the path from the ignore black list (ignores.txt below provided through CFLAGS/CXXFLAGS), which is breaking the configure. The Blacklist is in PWD, and its on path. I've tried putting the blacklist (ignores.txt) in CMakeTmp, but it keeps getting blown away. How in the hell does one get rid of this Cmake crap??? Jeff ***** $ pwd /home/jeffrey/cpp-netlib-build $ echo $PATH /home/jeffrey/cpp-netlib-build:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games $ echo $CXXFLAGS -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr -fsanitize-blacklist=/home/jeffrey/cpp-netlib-build/ignores.txt $ ls CMakeCache.txt CMakeFiles ignores.txt $ cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/local/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ ../cpp-netlib-0.10.1 -- The CXX compiler identification is unknown -- Check for working CXX compiler: /usr/local/bin/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- broken CMake Error at /usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake:45 (MESSAGE): The C++ compiler "/usr/local/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/jeffrey/cpp-netlib-build/CMakeFiles/CMakeTmp Run Build Command:/usr/bin/make "cmTryCompileExec/fast" /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Entering directory `/home/jeffrey/cpp-netlib-build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/jeffrey/cpp-netlib-build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o /usr/local/bin/clang++ -fsanitize=address -fsanitize=undefined -fno-sanitize=vptr -fsanitize-blacklist=ignores.txt -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.cxx.o -c /home/jeffrey/cpp-netlib-build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx clang: error: no such file or directory: 'ignores.txt' clang: error: no such file or directory: 'ignores.txt' ***** export PATH=`pwd`:$PATH export CC="/usr/local/bin/clang"; export CXX="/usr/local/bin/clang++" export CFLAGS="-fsanitize=address -fsanitize=undefined -fsanitize-blacklist=`pwd`/ignores.txt"; export CXXFLAGS="-fsanitize=address -fsanitize=undefined -fno-sanitize=vptr -fsanitize-blacklist=`pwd`/ignores.txt" export LD_LIBRARY_PATH=/usr/local/lib cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=/usr/local/bin/clang -DCMAKE_CXX_COMPILER=/usr/local/bin/clang++ ../cpp-netlib-0.10.1 |