Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/flang
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2021-12-02 12:04:46 +0300
committerPetr Hosek <phosek@google.com>2022-03-12 02:43:01 +0300
commit0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794 (patch)
treef11f785fc413affb347276c8b462e9302afde4d6 /flang
parent75779435f3fc6f7d492a3da067804610fab37017 (diff)
[CMake] Rename TARGET_TRIPLE to LLVM_TARGET_TRIPLE
This clarifies that this is an LLVM specific variable and avoids potential conflicts with other projects. Differential Revision: https://reviews.llvm.org/D119918
Diffstat (limited to 'flang')
-rw-r--r--flang/test/NonGtestUnit/lit.site.cfg.py.in2
-rw-r--r--flang/test/Unit/lit.site.cfg.py.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/flang/test/NonGtestUnit/lit.site.cfg.py.in b/flang/test/NonGtestUnit/lit.site.cfg.py.in
index 3218fe0b5ce3..3833e223a431 100644
--- a/flang/test/NonGtestUnit/lit.site.cfg.py.in
+++ b/flang/test/NonGtestUnit/lit.site.cfg.py.in
@@ -10,7 +10,7 @@ config.flang_obj_root = "@FLANG_BINARY_DIR@"
config.flang_src_root = "@FLANG_SOURCE_DIR@"
config.flang_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
config.flang_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
-config.target_triple = "@TARGET_TRIPLE@"
+config.target_triple = "@LLVM_TARGET_TRIPLE@"
config.python_executable = "@Python3_EXECUTABLE@"
# Support substitution of the tools and libs dirs with user parameters. This is
diff --git a/flang/test/Unit/lit.site.cfg.py.in b/flang/test/Unit/lit.site.cfg.py.in
index f8b35612c2b5..d96f51d934d3 100644
--- a/flang/test/Unit/lit.site.cfg.py.in
+++ b/flang/test/Unit/lit.site.cfg.py.in
@@ -10,7 +10,7 @@ config.flang_obj_root = "@FLANG_BINARY_DIR@"
config.flang_src_root = "@FLANG_SOURCE_DIR@"
config.flang_libs_dir = "@LLVM_LIBRARY_OUTPUT_INTDIR@"
config.flang_tools_dir = "@LLVM_RUNTIME_OUTPUT_INTDIR@"
-config.target_triple = "@TARGET_TRIPLE@"
+config.target_triple = "@LLVM_TARGET_TRIPLE@"
config.python_executable = "@Python3_EXECUTABLE@"
# Support substitution of the tools and libs dirs with user parameters. This is