Skip to content

Commit

Permalink
ci: windows: apply libff patch carried by hevm
Browse files Browse the repository at this point in the history
  • Loading branch information
elopez committed Dec 3, 2024
1 parent 1e1531c commit 602686a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/scripts/install-libff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ fi
if [ "$HOST_OS" = "Windows" ]; then
ARGS+=("-G" "Ninja")
sed -i 's/find_library(GMP_LIBRARY gmp)/find_library(GMP_LIBRARY NAMES libgmp.a)/' CMakeLists.txt

# Apply windows-specific libff patch carried by hevm
curl -fsSL https://raw.githubusercontent.com/ethereum/hevm/1abe4c79eeada928acc279b631c48eeb2a1376c2/.github/scripts/libff.patch | patch -p1
fi

mkdir -p build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
# Tag for cache invalidation
CACHE_VERSION: v8
CACHE_VERSION: v9

jobs:
build:
Expand Down

0 comments on commit 602686a

Please sign in to comment.