fix(arrow)

cmake tar command seems not to like our build paths

closes #3914
closes #3960
This commit is contained in:
Jacob Heider 2023-11-06 18:35:47 -05:00 committed by Jacob Heider
parent 82256158cc
commit 051bc14905

View file

@ -14,7 +14,7 @@ dependencies:
grpc.io: '*'
lz4.org: '*'
openssl.org: '*'
protobuf.dev: '*'
protobuf.dev: 24
rapidjson.org: '*'
github.com/google/re2: '*'
google.github.io/snappy: '*'
@ -29,14 +29,18 @@ build:
python.org: '<3.12'
working-directory: cpp
script:
- cmake -B build $CMAKE_ARGS
- cmake --build build
- cmake --install build
- cmake -B $BUILD_DIR $CMAKE_ARGS
- cmake --build $BUILD_DIR
- cmake --install $BUILD_DIR
- run: |
sed -i.bak "s|$PKGX_DIR|\${pcfiledir}/../../../..|g" ./*.pc
rm ./*.bak
working-directory: '{{prefix}}/lib/pkgconfig'
env:
BUILD_DIR: $(mktemp -d)
CC: clang
CXX: clang++
LD: clang
CMAKE_ARGS:
- -DCMAKE_INSTALL_PREFIX="{{prefix}}
- -DCMAKE_INSTALL_LIBDIR=lib