[llvm] afc45ff - [gn build] (manually) port 2c42a73d6c39
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 15 05:01:12 PDT 2021
Author: Nico Weber
Date: 2021-09-15T08:01:02-04:00
New Revision: afc45ff06fac83209c631f2573789fde48b8b397
URL: https://github.com/llvm/llvm-project/commit/afc45ff06fac83209c631f2573789fde48b8b397
DIFF: https://github.com/llvm/llvm-project/commit/afc45ff06fac83209c631f2573789fde48b8b397.diff
LOG: [gn build] (manually) port 2c42a73d6c39
Added:
Modified:
llvm/utils/gn/secondary/llvm/test/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/test/BUILD.gn b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
index 1cee926fea54f..0adb1292557da 100644
--- a/llvm/utils/gn/secondary/llvm/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/test/BUILD.gn
@@ -9,6 +9,7 @@ import("//llvm/utils/gn/build/libs/zlib/enable.gni")
import("//llvm/utils/gn/build/mac_sdk.gni")
import("//llvm/utils/gn/build/write_cmake_config.gni")
import("//llvm/utils/llvm-lit/lit_path_function.gni")
+import("//llvm/version.gni")
import("llvm_lit_site_cfg_files.gni")
template("write_lit_config") {
@@ -66,6 +67,8 @@ write_lit_config("lit_site_cfg") {
"LLVM_NATIVE_ARCH=$native_target",
"LLVM_USE_INTEL_JITEVENTS=0",
"LLVM_USE_SANITIZER=",
+ "LLVM_VERSION_MAJOR=$llvm_version_major",
+ "LLVM_VERSION_SUFFIX=git",
"Python3_EXECUTABLE=$python_path",
"TARGETS_TO_BUILD=$llvm_targets_to_build_string",
"TARGET_TRIPLE=$llvm_target_triple",
More information about the llvm-commits
mailing list