mirror of
https://github.com/drewcassidy/quicktex.git
synced 2024-09-13 06:37:34 +00:00
I'm dumb, this is the default on all compilers
This commit is contained in:
parent
a07fd55014
commit
4a8e416f1f
5
setup.py
5
setup.py
@ -56,11 +56,6 @@ class CMakeBuild(build_ext):
|
|||||||
if not cmake_generator:
|
if not cmake_generator:
|
||||||
cmake_args += ["-GNinja"]
|
cmake_args += ["-GNinja"]
|
||||||
|
|
||||||
# If this is a CI build, make sure not to use any advanced CPU features
|
|
||||||
if bool(os.environ.get('CI', False)):
|
|
||||||
print('forcing use of base x86_64 instruction set for CI build')
|
|
||||||
cmake_args += ['-DCMAKE_CXX_FLAGS=-mtune=x86-64']
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# Single config generators are handled "normally"
|
# Single config generators are handled "normally"
|
||||||
single_config = any(x in cmake_generator for x in {"NMake", "Ninja"})
|
single_config = any(x in cmake_generator for x in {"NMake", "Ninja"})
|
||||||
|
Loading…
Reference in New Issue
Block a user