Skip to content

Commit

Permalink
Do not special case NUMA support on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nazar-pc committed Jan 19, 2024
1 parent 5cd97b8 commit 7717121
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
version: ${{ github.repository_owner == 'subspace' && '17.0.6' || '15' }}
# TODO: Remove specific patch release and force version once https://github.com/KyleMayes/install-llvm-action/issues/61 is resolved
force-version: true
env: true
if: runner.os == 'macOS'

- name: Install Protoc
Expand Down Expand Up @@ -156,6 +157,7 @@ jobs:
version: ${{ github.repository_owner == 'subspace' && '17.0.6' || '15' }}
# TODO: Remove specific patch release and force version once https://github.com/KyleMayes/install-llvm-action/issues/61 is resolved
force-version: true
env: true
if: runner.os == 'macOS'

- name: Install Protoc
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/snapshot-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ jobs:
version: ${{ github.repository_owner == 'subspace' && '17.0.6' || '15' }}
# TODO: Remove specific patch release and force version once https://github.com/KyleMayes/install-llvm-action/issues/61 is resolved
force-version: true
env: true
if: runner.os == 'macOS'

- name: Install Protoc
Expand Down Expand Up @@ -192,20 +193,11 @@ jobs:
restore-keys: |
${{ runner.os }}-cargo-
- name: Build farmer (Linux and Windows)
- name: Build farmer
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
with:
command: build
args: --locked -Z build-std --target ${{ matrix.build.target }} --profile production --bin subspace-farmer
if: runner.os != 'macOS'

# We build macOS without `numa` feature, primarily because of https://github.com/HadrienG2/hwlocality/issues/31
- name: Build farmer (macOS)
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
with:
command: build
args: --locked -Z build-std --target ${{ matrix.build.target }} --profile production --bin subspace-farmer --no-default-features
if: runner.os == 'macOS'

- name: Build node
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # @v1.0.1
Expand Down

0 comments on commit 7717121

Please sign in to comment.