[Mlir-commits] [mlir] f9676d2 - [mlir] Fix macOS tests
Alex Zinenko
llvmlistbot at llvm.org
Wed Jul 20 01:19:11 PDT 2022
Author: Anush Elangovan
Date: 2022-07-20T10:19:05+02:00
New Revision: f9676d2d2219c5709b58ae228411bcefe8ee11e2
URL: https://github.com/llvm/llvm-project/commit/f9676d2d2219c5709b58ae228411bcefe8ee11e2
DIFF: https://github.com/llvm/llvm-project/commit/f9676d2d2219c5709b58ae228411bcefe8ee11e2.diff
LOG: [mlir] Fix macOS tests
Fix shared library names on macOS for execution_engine.py test.
Reviewed By: stellaraccident
Differential Revision: https://reviews.llvm.org/D130143
Added:
Modified:
mlir/test/python/execution_engine.py
Removed:
################################################################################
diff --git a/mlir/test/python/execution_engine.py b/mlir/test/python/execution_engine.py
index c46327afd73a9..ea08a854fdaea 100644
--- a/mlir/test/python/execution_engine.py
+++ b/mlir/test/python/execution_engine.py
@@ -489,6 +489,11 @@ def testSharedLibLoad():
"../../../../bin/mlir_runner_utils.dll",
"../../../../bin/mlir_c_runner_utils.dll"
]
+ elif sys.platform == 'darwin':
+ shared_libs = [
+ "../../../../lib/libmlir_runner_utils.dylib",
+ "../../../../lib/libmlir_c_runner_utils.dylib"
+ ]
else:
shared_libs = [
"../../../../lib/libmlir_runner_utils.so",
More information about the Mlir-commits
mailing list