Skip to content
Snippets Groups Projects
Commit 96e0ced5 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Build config file for ArchLinux using the clang compiler

parent 1289c085
Branches
Tags
No related merge requests found
set(PYTHON_BINARY "/usr/bin/python2" CACHE PATH "")
set(CMAKE_C_COMPILER "/usr/bin/clang" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/usr/bin/clang++" CACHE PATH "")
set(CMAKE_AR "/usr/bin/llvm-ar" CACHE PATH "")
set(CMAKE_LINKER "/usr/bin/llvm-ld" CACHE PATH "")
set(CMAKE_NM "/usr/bin/llvm-inm" CACHE PATH "")
set(CMAKE_OBJDUMP "/usr/bin/llvm-objdump" CACHE PATH "")
set(CMAKE_RANLIB "/usr/bin/llvm-ranlib" CACHE PATH "")
set(CMAKE_CXX_FLAGS_RELEASE "-Wno-array-bounds -pthread -O3 -DNDEBUG -Wno-parentheses -Wno-constant-logical-operand -fcolor-diagnostics" CACHE STRING "")
set(CMAKE_CXX_FLAGS_DEBUG "-Wno-array-bounds -g -pthread -Wno-parentheses -Wno-constant-logical-operand -fcolor-diagnostics" CACHE STRING "")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment