Skip to content
Snippets Groups Projects
Commit 78f90c64 authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Fix lgomp OFFLOAD configuration bug

parent 6689c2b3
Branches
No related tags found
No related merge requests found
......@@ -805,7 +805,7 @@ EOF
fi
if [ "x$result" = "x0" ]; then
echo "yes"
OFFLOADFLAGS=" -fcf-protection=check -foffload=nvptx-none=\"-O${CXX_OPT}${CXX_DBG} -fcf-protection=check -fopt-info -lm -latomic -gomp\""
OFFLOADFLAGS=" -fcf-protection=check -foffload=nvptx-none=\"-O${CXX_OPT}${CXX_DBG} -fcf-protection=check -fopt-info -lm -latomic -lgomp\""
if [ "x${OMPFLAGS}" = "x" ]; then
OFFLOADFLAGS="${OFFLOADFLAGS} -fopenmp"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment