Removed asking about optimization to support pip 9.0+, which has a non-verbose mode.
This commit is contained in:
parent
47d1516fa2
commit
86acf5f287
6
setup.py
6
setup.py
@ -191,7 +191,8 @@ def get_openblas():
|
||||
openblas_full_path_install = os.path.join(start_working_dir, openblas_dir_install)
|
||||
openblas_git = "https://github.com/xianyi/OpenBLAS.git"
|
||||
|
||||
openblas_target_optimization = ask_openblas_optimization_level()
|
||||
# openblas_target_optimization = ask_openblas_optimization_level()
|
||||
openblas_target_optimization = "-Ofast"
|
||||
if openblas_target_optimization != "SKIPOPENBLAS":
|
||||
clone_git_repository(openblas_full_path, openblas_git)
|
||||
if openblas_target_optimization != "":
|
||||
@ -245,7 +246,8 @@ class DependenciesBuilder(_build):
|
||||
clone_git_repository(polymath_full_path, polymath_git)
|
||||
|
||||
############## build spintrum
|
||||
spintrum_optimization_target = ask_spintrum_optimization_level()
|
||||
# spintrum_optimization_target = ask_spintrum_optimization_level()
|
||||
spintrum_optimization_target = "-Ofast"
|
||||
print("Building Spintrum extension...")
|
||||
err_code = subprocess.call(["cmake . -DPythonInstallation=1 -DOptimizationLevel=" + spintrum_optimization_target], shell=True)
|
||||
deal_with_error_code(err_code, "CMaking spintrum")
|
||||
|
Loading…
Reference in New Issue
Block a user