Skip to content

Commit

Permalink
Dont use clang
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsta committed Sep 23, 2024
1 parent 72b3f0b commit 30811b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
# native_build = "CIBUILDWHEEL" not in os.environ and 'darwin' not in platform.system().lower() and not 'aarch' in platform.machine().lower()
native_build = False # For now, Ubuntu ships with GCC on which -march=native is broken... and it just fails in too many situations.

use_clang = (
(not windows)
and spawn.find_executable("clang++") != None
and os.getenv("OPENTIMS_USE_DEFAULT_CXX") == None
)
use_clang = False #(
# (not windows)
# and spawn.find_executable("clang++") != None
# and os.getenv("OPENTIMS_USE_DEFAULT_CXX") == None
#)
# use_ccache = (not windows) and spawn.find_executable('ccache') != None and native_build
use_ccache = os.path.exists("./use_ccache")

Expand Down

0 comments on commit 30811b5

Please sign in to comment.