Skip to content
Snippets Groups Projects
Commit d5bc26f6 authored by tqtg's avatar tqtg
Browse files

disable OpenMP for MacOS

parent d9dd809e
No related branches found
No related tags found
No related merge requests found
...@@ -34,12 +34,6 @@ jobs: ...@@ -34,12 +34,6 @@ jobs:
- name: Display Python version - name: Display Python version
run: python -c "import sys; print(sys.version)" run: python -c "import sys; print(sys.version)"
- name: Install GCC for MacOS using Homebrew
if: matrix.os == 'macos-latest'
run: |
brew reinstall gcc libomp llvm
brew link gcc
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
......
...@@ -83,11 +83,11 @@ else: ...@@ -83,11 +83,11 @@ else:
] ]
if "darwin" in platform.platform().lower(): if "darwin" in platform.platform().lower():
USE_OPENMP = False # temporarily disable for GH actions
if gcc is not None: if gcc is not None:
os.environ["CC"] = gcc os.environ["CC"] = gcc
os.environ["CXX"] = gcc os.environ["CXX"] = gcc
else: else:
USE_OPENMP = False
print( print(
"No GCC available. Install gcc from Homebrew " "using brew install gcc." "No GCC available. Install gcc from Homebrew " "using brew install gcc."
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment