Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ else
COMPILERS=(-DCMAKE_C_COMPILER="$AOMP_CC_COMPILER"
-DCMAKE_CXX_COMPILER="$AOMP_CXX_COMPILER")
if [ "$AOMP_PROC" == "aarch64" ] ; then
TARGETS_TO_BUILD="AMDGPU;${AOMP_NVPTX_TARGET}AArch64"
TARGETS_TO_BUILD="AMDGPU;${AOMP_NVPTX_TARGET}AArch64;SPIRV"
_qmathopt=()
else
TARGETS_TO_BUILD="AMDGPU;${AOMP_NVPTX_TARGET}X86"
TARGETS_TO_BUILD="AMDGPU;${AOMP_NVPTX_TARGET}X86;SPIRV"
fi
fi

Expand Down
2 changes: 1 addition & 1 deletion test/smoke/clang-358841/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ TESTSRC_MAIN = clang-358841.c
TESTSRC_AUX =
TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX)

CLANG = clang
CLANG = clang -lm

OMP_BIN = $(AOMP)/bin/$(CLANG)
CC = $(OMP_BIN) $(VERBOSE)
Expand Down
4 changes: 2 additions & 2 deletions trunk/build_project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ else
fi
if [ "$TRUNK_BUILD_CUDA" == 0 ] ; then
_cuda_plugin="-DLIBOMPTARGET_BUILD_CUDA_PLUGIN=OFF"
_targets_to_build="-DLLVM_TARGETS_TO_BUILD='X86;AMDGPU'"
_targets_to_build="-DLLVM_TARGETS_TO_BUILD='X86;AMDGPU;SPIRV'"
_plugins_to_build="-DLIBOMPTARGET_PLUGINS_TO_BUILD='amdgpu;host'"
AOMP_NVPTX_CAPS_OPT=""
else
_cuda_plugin="-DLIBOMPTARGET_BUILD_CUDA_PLUGIN=ON"
_targets_to_build="-DLLVM_TARGETS_TO_BUILD='X86;AMDGPU;NVPTX'"
_targets_to_build="-DLLVM_TARGETS_TO_BUILD='X86;AMDGPU;NVPTX;SPIRV'"
_plugins_to_build="-DLIBOMPTARGET_PLUGINS_TO_BUILD='amdgpu;cuda;host'"
fi

Expand Down
Loading