Add clang support
This commit is contained in:
4
etc/config/clang.mk
Normal file
4
etc/config/clang.mk
Normal file
@@ -0,0 +1,4 @@
|
||||
include ./etc/config/gcc.mk
|
||||
|
||||
export OMPI_CC=clang
|
||||
export OMPI_CXX=clang++
|
||||
@@ -8,6 +8,8 @@ CXXFLAGS += -I$(ATRIP_ROOT)/include
|
||||
|
||||
CXXFLAGS += -I$(CTF_INCLUDE_PATH)
|
||||
CXXFLAGS += -fPIC
|
||||
CXXFLAGS += -std=c++11
|
||||
CXXFLAGS += -pedantic -Wall
|
||||
|
||||
LDFLAGS += -fopenmp
|
||||
LDFLAGS += -Wl,-Bstatic
|
||||
|
||||
Reference in New Issue
Block a user