Skip to content

Commit

Permalink
Fix for ICX compiler on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmed, Daiyaan <[email protected]>
  • Loading branch information
daiyaan-ahmed6 committed Jan 17, 2024
1 parent 5b21ba1 commit 6ed309e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions behavior_tests/src/cmake_target_link_libraries/do_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,12 @@ def migrate_test():
ret = change_dir("build")
if not ret:
print("Error to go to build folder:", test_config.command_output)

ret = call_subprocess("cmake -G \"Unix Makefiles\" -DCMAKE_CXX_COMPILER=icpx ../")

if(sys.platform.startswith('win')):
ret = call_subprocess("cmake -G \"Unix Makefiles\" -DCMAKE_CXX_COMPILER=icx ../")
else:
ret = call_subprocess("cmake -G \"Unix Makefiles\" -DCMAKE_CXX_COMPILER=icpx ../")

if not ret:
print("Error to run cmake configure:", test_config.command_output)

Expand Down

0 comments on commit 6ed309e

Please sign in to comment.