projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a96d62b
)
llvm/test/lit.cfg.py: Don't set the feature "llvm-64-bits" if -m32 is specified.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sat, 4 Nov 2017 06:55:55 +0000
(06:55 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sat, 4 Nov 2017 06:55:55 +0000
(06:55 +0000)
FIXME: LLVM_BUILD_32_BITS should modify host_triple.
llvm-svn: 317404
llvm/test/lit.cfg.py
patch
|
blob
|
history
diff --git
a/llvm/test/lit.cfg.py
b/llvm/test/lit.cfg.py
index
57dc1f0
..
73a3b4b
100644
(file)
--- a/
llvm/test/lit.cfg.py
+++ b/
llvm/test/lit.cfg.py
@@
-169,7
+169,8
@@
for arch in config.targets_to_build.split():
# Features
known_arches = ["x86_64", "mips64", "ppc64", "aarch64"]
-if any(config.llvm_host_triple.startswith(x) for x in known_arches):
+if (config.host_ldflags.find("-m32") < 0
+ and any(config.llvm_host_triple.startswith(x) for x in known_arches)):
config.available_features.add("llvm-64-bits")
# Others/can-execute.txt