Add NVPTX backend to CPT

This commit is contained in:
Simeon Ehrig 2019-06-11 12:22:05 +00:00 committed by SFT
parent cc28579124
commit 43d5583905

View File

@ -494,7 +494,7 @@ def compile(arg, build_libcpp):
build = Build()
cmake_config_flags = (srcdir + ' -DLLVM_BUILD_TOOLS=Off -DCMAKE_BUILD_TYPE={0} -DCMAKE_INSTALL_PREFIX={1} '
.format(build.buildType, TMP_PREFIX) + ' -DLLVM_TARGETS_TO_BUILD=host ' +
.format(build.buildType, TMP_PREFIX) + ' -DLLVM_TARGETS_TO_BUILD="host;NVPTX" ' +
EXTRA_CMAKE_FLAGS)
libcxx = ''