Guest User

Untitled

a guest
Mar 23rd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. cmake_params[1]=-DCMAKE_CXX_FLAGS=-O2 -DNDEBUG
  2. cmake_params[2]=-DCMAKE_CXX_FLAGS=-march=native -O2 -DNDEBUG
  3. # ....
  4.  
  5. #compile with:
  6.  
  7. for i in {1..n}
  8. do
  9. # .. prepare ..
  10. mkdir build
  11. cd build
  12. cmake "${cmake_params[$i]}" ..
  13. make
  14. done
  15.  
  16. The CMAKE_CXX_COMPILER:
  17.  
  18. clang++ -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_FLAGS=-march=native -O3 -DNDEBUG -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=true -DCMAKE_POLICY_DEFAULT_CMP0069=NEW
  19.  
  20. is not a full path and was not found in the PATH.
Add Comment
Please, Sign In to add comment