Commit 24aee043 authored by Ajay Patel's avatar Ajay Patel

Use CI_CC instead of CC

parent e62e972f
Pipeline #36795629 failed with stages
in 23 minutes and 8 seconds
......@@ -23,7 +23,7 @@ matrix:
script:
- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install [email protected] --without-multilib
- export CC="/usr/local/Cellar/gcc/8.2.0/bin/gcc-8"
- export CI_CC="/usr/local/Cellar/gcc/8.2.0/bin/gcc-8"
- export PYTHONPATH="$(python -c 'import sys; import os; print(os.pathsep.join(sys.path))'):build/bdist.macosx-10.6-intel/wheel/"
- echo $PYTHONPATH
- $PIP install pip setuptools -U
......
......@@ -1069,9 +1069,7 @@ class CustomInstallCommand(install):
print("Done running install")
if not(download_and_install_wheel()):
print("Running egg_install...")
install_env = os.environ.copy()
print("Passing PYTHONPATH TO Subprocess:", install_env["PYTHONPATH"] if "PYTHONPATH" in install_env else "")
p = Process(target=install.do_egg_install, args=(self,), env=install_env)
p = Process(target=install.do_egg_install, args=(self,))
p.start()
p.join()
install_requirements()
......@@ -1098,6 +1096,8 @@ MODULES = get_modules(THIRD_PARTY, INTERNAL, PROJ_PATH,
source_for_module_with_pyinit)
if __name__ == '__main__':
if 'CI_CC' in os.environ:
os.environ['CC'] = os.environ['CI_CC']
# Attempt to install from a remote pre-compiled wheel
if any([a in sys.argv for a in ['egg_info', 'install']]):
......
__version_info__ = ('0', '0', '62')
__version_info__ = ('0', '0', '63')
__version__ = '.'.join(__version_info__)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment