mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
fix(solidity) (#1430)
This commit is contained in:
parent
ab78917291
commit
565a918481
|
@ -15,7 +15,15 @@ build:
|
|||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./bootstrap.sh --prefix={{ prefix }}
|
||||
./b2 install --prefix={{ prefix }}
|
||||
./b2 $ARGS
|
||||
env:
|
||||
ARGS:
|
||||
- install
|
||||
- --prefix={{ prefix }}
|
||||
linux/x86-64:
|
||||
ARGS:
|
||||
- cxxflags=-fPIC
|
||||
- linkflags=-fPIC
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
|
|
|
@ -10,7 +10,7 @@ provides:
|
|||
- bin/yul-phaser
|
||||
|
||||
dependencies:
|
||||
boost.org: 1
|
||||
boost.org: ^1.70
|
||||
|
||||
interprets:
|
||||
extensions: sol
|
||||
|
@ -49,13 +49,6 @@ build:
|
|||
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
||||
- -DPEDANTIC=OFF # otherwise fails due to deprecations in boost ^1.81
|
||||
- -DSTRICT_Z3_VERSION=OFF # otherwise complains about Z3 version in cmake
|
||||
- -DCMAKE_C_FLAGS=$CFLAGS
|
||||
- -DCMAKE_CXX_FLAGS=$CXXFLAGS
|
||||
- -DCMAKE_EXE_LINKER_FLAGS=$LDFLAGS
|
||||
linux/x86-64:
|
||||
CFLAGS: -fPIC
|
||||
CXXFLAGS: -fPIC
|
||||
LDFLAGS: -pie
|
||||
|
||||
test:
|
||||
solc --bin fixture.sol
|
||||
|
|
Loading…
Reference in a new issue