Skip to content

Commit

Permalink
Fixed build script arguments for MacOS clang compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Oct 10, 2024
1 parent ccc79c4 commit a2db13b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@
gpp_command.append('-flto=auto')

if platform.system() == 'Darwin':
gpp_command.append('-L/usr/local/opt/llvm/lib')
gpp_command.append('-Xpreprocessor')
gpp_command.append('-L/usr/local/opt/llvm/lib')
gpp_command.append('-O3')
gpp_command.remove('-Ofast')

gpp_command += cpp_files + ['-o', OUTPUT_EXECUTABLE]
nvcc_command = [
Expand Down

0 comments on commit a2db13b

Please sign in to comment.