Skip to content
Snippets Groups Projects
Commit f0551f96 authored by Ralf Mueller's avatar Ralf Mueller :fishing_pole_and_fish:
Browse files

add basic build for AMDs aocc compiler suite on levante

parent b354779b
No related branches found
No related tags found
No related merge requests found
......@@ -387,6 +387,15 @@ case "${HOSTNAME}" in
F77=gfortran FFLAGS="-g -O2" \
CXX=g++ CXXFLAGS="-g -Wall -O3 -mavx2 -fPIC -I${FFTW3PATH}/include" \
CC=gcc CFLAGS="-g -Wall -O2 -mavx2 -fPIC"
elif test "$COMP" = aocc ; then
${CONFPATH}configure \
CC=clang \
FC=flang \
F77=flang \
CPPFLAGS=-DgFortran \
CXX=clang++ \
LIBS='-lflang -lpgmath' \
LDFLAGS='-Wl,-rpath -Wl,/sw/spack-levante/aocc-3.2.0-maexee/lib'
else
${CONFPATH}configure --prefix=$HOME/local \
$CDOLIBS LIBS=-lm \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment