diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2018-06-13 02:16:01 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2018-06-13 02:16:01 +0000 |
commit | 8472ec9663a5131b04abd01bff1fcd778c9b19c8 (patch) | |
tree | 8cfd27b84b53c6eb3141126c20d8af908eb23acf /llvm/lib/Transforms/Utils | |
parent | 8fa638ae6fdad381c8b50c4374b786f57f98bf53 (diff) | |
download | bcm5719-llvm-8472ec9663a5131b04abd01bff1fcd778c9b19c8.tar.gz bcm5719-llvm-8472ec9663a5131b04abd01bff1fcd778c9b19c8.zip |
Revert "Fix how LLVMOPTIONALCOMPONENTS is passed to llvm-build"
This reverts commit r334543.
My understanding is, that commit is intended to make the llvm-build
invocation have a correct "--enable-optional-components" value, but:
- it already has a value: it's quoted in the command line a few lines
below, and, if I hack llvm-build to print sys.argv, it does look correct:
-- llvm-build output: ['.../utils/llvm-build/llvm-build',
'--native-target', 'X86', '--enable-targets', 'X86;ARM;AArch64',
'--enable-optional-components', '',
'--write-library-table',
'.../build/tools/llvm-config/LibraryDependencies.inc',
'--write-cmake-fragment', '.../build/LLVMBuild.cmake']
- the " " string seems to evaluate to TRUE in CMake (*sigh*), so this
basically force-enables LLVM_USE_INTEL_JITEVENTS, regardless of the
value of the option.
On Darwin, JITEvents is not supported, so this bypasses that OS check
but is guaranteed to fail later.
llvm-svn: 334566
Diffstat (limited to 'llvm/lib/Transforms/Utils')
0 files changed, 0 insertions, 0 deletions