Displaying 1 result from an estimated 1 matches for "dllvm_default_target_envvar_nam".
Did you mean:
dllvm_default_target_envvar_name
2017 May 03
3
Runtime-configurable LLVM_DEFAULT_TARGET_TRIPLE by env var
...velopers.
I think it may be off by default.
* What is the name of environment variable?
I suggest the name itself could be configurable.
If I would introduce the envvar name as "LLVM_TARGET", clang users would
complain why clang didn't have like "CLANG_TARGET".
$ cmake -DLLVM_DEFAULT_TARGET_ENVVAR_NAME=LLVM_TARGET
$ LLVM_TARGET=i686-win32 bin/llvm-lit path/to/tests
This feature may be disabled if LLVM_DEFAULT_TARGET_ENVVAR_NAME is blank.
I wonder the name LLVM_DEFAULT_TARGET_ENVVAR_NAME might be weird.
Better suggestions are welcome.
As a future plan, I will implement, in Lit, run tests with...