Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 8dc36ae

Browse files
committed
Reinstall gcc on macos
1 parent 2e7dbef commit 8dc36ae

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/cd.yml

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
shell: bash
2929
run: |
3030
source ./.github/workflows/install-conda.sh
31+
if [[ `uname` == "Darwin" ]]; then
32+
brew reinstall gcc@10
33+
fi
3134
3235
- name: Deploy packages
3336
if: startsWith(github.ref, 'refs/tags/') && matrix.no-deploy != '1'

.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ jobs:
2323
shell: bash
2424
run: |
2525
source ./.github/workflows/install-conda.sh
26+
if [[ `uname` == "Darwin" ]]; then
27+
brew reinstall gcc@10
28+
fi
2629
2730
- name: Build extensions
2831
shell: bash

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
],
2929
libraries=["rt"] if sys.platform == 'linux' else [],
3030
sources=["shared_memory/posixshmem.c"],
31+
extra_compile_args=["-Wno-implicit-function-declaration"],
3132
)
3233
win_shm_mod = Extension(
3334
"shared_memory._winshmem",

0 commit comments

Comments
 (0)