From 5715350d960b1a1ce149ecc334bcaecbf9f94e99 Mon Sep 17 00:00:00 2001 From: Dmitry Babokin Date: Thu, 16 Oct 2014 17:24:43 +0400 Subject: [PATCH] Build clang with NVPTX support. --- alloy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/alloy.py b/alloy.py index 13d38660..f932b5f3 100755 --- a/alloy.py +++ b/alloy.py @@ -226,7 +226,7 @@ def build_LLVM(version_LLVM, revision, folder, tarball, debug, selfbuild, extra, try_do_LLVM("configure release version for selfbuild ", "../" + LLVM_SRC + "/configure --prefix=" + llvm_home + "/" + LLVM_BIN_selfbuild + " --enable-optimized" + - " --enable-targets=x86,x86_64" + + " --enable-targets=x86,x86_64,nvptx" + ((" --with-gcc-toolchain=" + gcc_toolchain_path) if gcc_toolchain_path != "" else "") + mac_system_root, from_validation) @@ -244,7 +244,7 @@ def build_LLVM(version_LLVM, revision, folder, tarball, debug, selfbuild, extra, try_do_LLVM("configure release version ", "../" + LLVM_SRC + "/configure --prefix=" + llvm_home + "/" + LLVM_BIN + " --enable-optimized" + selfbuild_compiler + - " --enable-targets=x86,x86_64" + + " --enable-targets=x86,x86_64,nvptx" + ((" --with-gcc-toolchain=" + gcc_toolchain_path) if gcc_toolchain_path != "" else "") + mac_system_root, from_validation) @@ -257,7 +257,7 @@ def build_LLVM(version_LLVM, revision, folder, tarball, debug, selfbuild, extra, try_do_LLVM("configure debug version ", "../" + LLVM_SRC + "/configure --prefix=" + llvm_home + "/" + LLVM_BIN + " --enable-debug-runtime --enable-debug-symbols --enable-keep-symbols" + selfbuild_compiler + - " --enable-targets=x86,x86_64" + + " --enable-targets=x86,x86_64,nvptx" + ((" --with-gcc-toolchain=" + gcc_toolchain_path) if gcc_toolchain_path != "" else "") + mac_system_root, from_validation)