diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 01c0cb8..03eaa8e 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -28,6 +28,9 @@ jobs: shell: bash run: | source ./.github/workflows/install-conda.sh + if [[ `uname` == "Darwin" ]]; then + brew reinstall gcc@10 + fi - name: Deploy packages if: startsWith(github.ref, 'refs/tags/') && matrix.no-deploy != '1' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c92d7c..cc08489 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,9 @@ jobs: shell: bash run: | source ./.github/workflows/install-conda.sh + if [[ `uname` == "Darwin" ]]; then + brew reinstall gcc@10 + fi - name: Build extensions shell: bash diff --git a/setup.py b/setup.py index 76a6a1d..c943f67 100644 --- a/setup.py +++ b/setup.py @@ -28,6 +28,7 @@ ], libraries=["rt"] if sys.platform == 'linux' else [], sources=["shared_memory/posixshmem.c"], + extra_compile_args=["-Wno-implicit-function-declaration"], ) win_shm_mod = Extension( "shared_memory._winshmem",