mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
tests: Don't make a missing llvm-gcc dir a fatal error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96938 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7cfbe2576d
commit
3d4cea31d5
@ -40,8 +40,6 @@ if llvm_obj_root is not None:
|
||||
config.environment['PATH'] = path
|
||||
|
||||
llvmgcc_dir = getattr(config, 'llvmgcc_dir', None)
|
||||
if not llvmgcc_dir:
|
||||
lit.fatal('No llvm-gcc dir set!')
|
||||
if llvmgcc_dir:
|
||||
path = os.path.pathsep.join((os.path.join(llvmgcc_dir, 'bin'),
|
||||
config.environment['PATH']))
|
||||
|
Loading…
Reference in New Issue
Block a user