Skip to content

Commit

Permalink
Try '--allow-unsupported-compiler' on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Dec 3, 2024
1 parent 8fb8830 commit 8d844fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def make_liblincs_extension():
elif sys.platform == "win32":
include_dirs += [os.path.join(windows_cuda_path, "include")]
library_dirs += [os.path.join(windows_cuda_path, r"lib\x64")]
extra_compile_args["cuda"] = ["-std=c++17", "-Xcompiler", "/openmp,/MD"]
extra_compile_args["cuda"] = ["-std=c++17", "--allow-unsupported-compiler", "-Xcompiler", "/openmp,/MD"]
else:
assert False, f"Unsupported platform for CUDA: {sys.platform}"
else:
Expand Down

0 comments on commit 8d844fb

Please sign in to comment.