mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(arrow)
cmake tar command seems not to like our build paths closes #3914 closes #3960
This commit is contained in:
parent
82256158cc
commit
051bc14905
1 changed files with 8 additions and 4 deletions
|
@ -14,7 +14,7 @@ dependencies:
|
||||||
grpc.io: '*'
|
grpc.io: '*'
|
||||||
lz4.org: '*'
|
lz4.org: '*'
|
||||||
openssl.org: '*'
|
openssl.org: '*'
|
||||||
protobuf.dev: '*'
|
protobuf.dev: 24
|
||||||
rapidjson.org: '*'
|
rapidjson.org: '*'
|
||||||
github.com/google/re2: '*'
|
github.com/google/re2: '*'
|
||||||
google.github.io/snappy: '*'
|
google.github.io/snappy: '*'
|
||||||
|
@ -29,14 +29,18 @@ build:
|
||||||
python.org: '<3.12'
|
python.org: '<3.12'
|
||||||
working-directory: cpp
|
working-directory: cpp
|
||||||
script:
|
script:
|
||||||
- cmake -B build $CMAKE_ARGS
|
- cmake -B $BUILD_DIR $CMAKE_ARGS
|
||||||
- cmake --build build
|
- cmake --build $BUILD_DIR
|
||||||
- cmake --install build
|
- cmake --install $BUILD_DIR
|
||||||
- run: |
|
- run: |
|
||||||
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" ./*.pc
|
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" ./*.pc
|
||||||
rm ./*.bak
|
rm ./*.bak
|
||||||
working-directory: '{{prefix}}/lib/pkgconfig'
|
working-directory: '{{prefix}}/lib/pkgconfig'
|
||||||
env:
|
env:
|
||||||
|
BUILD_DIR: $(mktemp -d)
|
||||||
|
CC: clang
|
||||||
|
CXX: clang++
|
||||||
|
LD: clang
|
||||||
CMAKE_ARGS:
|
CMAKE_ARGS:
|
||||||
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
|
||||||
- -DCMAKE_INSTALL_LIBDIR=lib
|
- -DCMAKE_INSTALL_LIBDIR=lib
|
||||||
|
|
Loading…
Reference in a new issue