File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # LLVM-19.1.4 cross compiler on Fugaku Login Node
3+ #
4+ # Seting up the environment with the following commands is needed:
5+ #
6+ # $ . /vol0004/apps/oss/llvm-v19.1.4/init.sh
7+ #
8+ set (CMAKE_SYSTEM_NAME Fugaku)
9+ set (CMAKE_SYSTEM_PROCESSOR aarch64)
10+ set (MPI_THREAD_MULTIPLE OFF CACHE BOOL "MPI thread multiple" FORCE)
11+ set (LLVM_LIB "/vol0004/apps/oss/llvm-v19.1.4/login_node/lib" )
12+
13+ set (CMAKE_CXX_COMPILER "mpiclang++" CACHE FILEPATH "C++ compiler" )
14+ set (CMAKE_CXX_FLAGS "-Wno-unused-command-line-argument \
15+ -mtune=a64fx -mcpu=a64fx -march=armv8.2-a+sve -msve-vector-bits=512 \
16+ -fopenmp -O3"
17+ CACHE STRING "C++ compiler flags" )
18+ set (CMAKE_EXE_LINKER_FLAGS "-L${LLVM_LIB} " CACHE STRING "Linker flags" )
You can’t perform that action at this time.
0 commit comments