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: '*' 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