diff options
author | Konstantin Gizdov | 2016-08-15 13:11:31 +0100 |
---|---|---|
committer | Konstantin Gizdov | 2016-08-15 13:11:31 +0100 |
commit | fee87fe6d5bc53b13ae5f1edf2410719466dfd04 (patch) | |
tree | 2a9c90c2422636035c523c80a20ace5725f2d298 /settings.cmake | |
parent | 282cf766345cf0ea7f0a86118270bea996f9ee86 (diff) | |
download | aur-fee87fe6d5bc53b13ae5f1edf2410719466dfd04.tar.gz |
remove duplicate dependencies, add missing dependencies, workaround pthread issue, correctly configure folder structure, use shared instead of builtin libs
Diffstat (limited to 'settings.cmake')
-rw-r--r-- | settings.cmake | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/settings.cmake b/settings.cmake new file mode 100644 index 000000000000..6c288ac68f07 --- /dev/null +++ b/settings.cmake @@ -0,0 +1,52 @@ +set (CMAKE_BUILD_TYPE Release CACHE STRING "" FORCE) +set (CMAKE_C_FLAGS "-pthread -pipe -fstack-protector-strong -O2 -march=native -mtune=native" CACHE STRING "" FORCE) +set (CMAKE_CXX_FLAGS "-D_GLIBCXX_USE_CXX11_ABI=0 -pthread -pipe -fstack-protector-strong -O2 -march=native" CACHE STRING "" FORCE) +set (CMAKE_SHARED_LINKER_FLAGS "-pthread -Wl,--no-undefined" CACHE STRING "" FORCE) +set (BUILD_SHARED_LIBS OFF CACHE BOOL "" FORCE) # this option is currently incompatible +set (CMAKE_INSTALL_PREFIX /usr CACHE PATH "" FORCE) +set (CMAKE_INSTALL_SYSCONFDIR /etc CACHE PATH "" FORCE) +set (CMAKE_INSTALL_DATAROOTDIR /usr/share CACHE PATH "" FORCE) +set (LLVM_ENABLE_THREADS ON CACHE BOOL "" FORCE) # try to workaround pthread issue +set (asimage ON CACHE BOOL "" FORCE) +set (builtin_afterimage OFF CACHE BOOL "" FORCE) +set (builtin_ftgl OFF CACHE BOOL "" FORCE) +set (builtin_freetype OFF CACHE BOOL "" FORCE) +set (builtin_glew OFF CACHE BOOL "" FORCE) +set (builtin_pcre OFF CACHE BOOL "" FORCE) +set (builtin_zlib OFF CACHE BOOL "" FORCE) +set (builtin_lzma OFF CACHE BOOL "" FORCE) +set (builtin_llvm ON CACHE BOOL "" FORCE) +set (builtin_tbb OFF CACHE BOOL "" FORCE) +set (castor OFF CACHE BOOL "" FORCE) +set (chirp OFF CACHE BOOL "" FORCE) +set (cling ON CACHE BOOL "" FORCE) +set (cxx11 ON CACHE BOOL "" FORCE) +set (davix OFF CACHE BOOL "" FORCE) +set (dcache OFF CACHE BOOL "" FORCE) +set (fail-on-missing ON CACHE BOOL "" FORCE) +set (fitsio ON CACHE BOOL "" FORCE) +set (fortran ON CACHE BOOL "" FORCE) +set (gfal OFF CACHE BOOL "" FORCE) +set (glite OFF CACHE BOOL "" FORCE) +set (gnuinstall ON CACHE BOOL "" FORCE) +set (gsl_shared ON CACHE BOOL "" FORCE) +set (hdfs OFF CACHE BOOL "" FORCE) +set (mathmore ON CACHE BOOL "" FORCE) +set (minuit2 ON CACHE BOOL "" FORCE) +set (monalisa OFF CACHE BOOL "" FORCE) +set (mt ON CACHE BOOL "" FORCE) +set (opengl ON CACHE BOOL "" FORCE) +set (oracle OFF CACHE BOOL "" FORCE) +set (pythia6 OFF CACHE BOOL "" FORCE) +set (pythia6_nolink OFF CACHE BOOL "" FORCE) +set (pythia8 OFF CACHE BOOL "" FORCE) +set (qt OFF CACHE BOOL "" FORCE) +set (qtgsi OFF CACHE BOOL "" FORCE) +set (rfio OFF CACHE BOOL "" FORCE) +set (roofit ON CACHE BOOL "" FORCE) +set (shared ON CACHE BOOL "" FORCE) +set (tbb ON CACHE BOOL "" FORCE) +set (testing OFF CACHE BOOL "" FORCE) +set (tmva ON CACHE BOOL "" FORCE) +set (xft ON CACHE BOOL "" FORCE) +set (x11 ON CACHE BOOL "" FORCE) |