We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc3dd8c + 2cbf28d commit c4b68b8Copy full SHA for c4b68b8
test/lit.cfg
@@ -171,6 +171,12 @@ lit_config.note('Using cmake: ' + config.cmake)
171
config.llvm_src_root = getattr(config, 'llvm_src_root', None)
172
config.llvm_obj_root = getattr(config, 'llvm_obj_root', None)
173
174
+if platform.system() == 'OpenBSD':
175
+ llvm_libs_dir = getattr(config, 'llvm_libs_dir', None)
176
+ if not llvm_libs_dir:
177
+ lit_config.fatal('No LLVM libs dir set.')
178
+ config.environment['LD_LIBRARY_PATH'] = llvm_libs_dir
179
+
180
def append_to_env_path(directory):
181
config.environment['PATH'] = \
182
os.path.pathsep.join((directory, config.environment['PATH']))
0 commit comments