From 691ce68b8a7483e0e449ec18a7e79d3c68f3ab55 Mon Sep 17 00:00:00 2001 From: Stelios Daveas Date: Tue, 4 Jun 2024 14:48:07 +0200 Subject: [PATCH] wip: amd64 --- .../workflows/build-docker-image-and-binaries.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docker-image-and-binaries.yaml b/.github/workflows/build-docker-image-and-binaries.yaml index 017ad5a5..6c50aa58 100644 --- a/.github/workflows/build-docker-image-and-binaries.yaml +++ b/.github/workflows/build-docker-image-and-binaries.yaml @@ -13,9 +13,9 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, macos-latest] + os: [macos-latest] # arch: [amd64, arm64] - arch: [arm64] + arch: [amd64] exclude: - {os: "ubuntu-latest", arch: "arm64"} @@ -84,6 +84,15 @@ jobs: mkdir -p tofndbin mv /Users/runner/work/tofnd/tofnd/target/aarch64-apple-darwin/release/tofnd "./tofndbin/tofnd-$OS-$ARCH-$SEMVER" else + echo "********" + ls -l /opt/homebrew/Cellar/gmp/6.3.0/lib + file /opt/homebrew/Cellar/gmp/6.3.0/lib/libgmp.10.dylib + echo "********" + export RUSTFLAGS="-L/opt/homebrew/lib" + export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH + export LD_LIBRARY_PATH=/opt/homebrew/lib:$LD_LIBRARY_PATH + export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH + export CPLUS_INCLUDE_PATH=/opt/homebrew/include:$CPLUS_INCLUDE_PATH export HOMEBREW_NO_INSTALL_CLEANUP=TRUE brew uninstall --ignore-dependencies gmp ARM_DEPENDENCY=$(brew fetch --force --bottle-tag=x86_64_sonoma gmp | grep Downloaded | awk '{print $3}')