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.
1 parent 3a0f216 commit 90e4522Copy full SHA for 90e4522
behavior_tests/src/cmake_dpct_helper_add_mkl_to_target/do_test.py
@@ -30,8 +30,9 @@ def migrate_test():
30
ret = change_dir("build")
31
if not ret:
32
print("Error to go to build folder:", test_config.command_output)
33
-
34
- ret = call_subprocess("cmake -G \"Unix Makefiles\" -DCMAKE_CXX_COMPILER=icpx ../")
+
+ CXX_COMP = "icx" if platform.system() else "icpx"
35
+ ret = call_subprocess("cmake -G \"Unix Makefiles\" -DCMAKE_CXX_COMPILER=" + CXX_COMP + " ../")
36
37
print("Error to run cmake configure:", test_config.command_output)
38
0 commit comments