From 051bc14905c2cc223f1a94d70d404e5dabbbf51a Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Mon, 6 Nov 2023 18:35:47 -0500 Subject: [PATCH] fix(arrow) cmake tar command seems not to like our build paths closes #3914 closes #3960 --- projects/apache.org/arrow/package.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/projects/apache.org/arrow/package.yml b/projects/apache.org/arrow/package.yml index b268b676..72d251aa 100644 --- a/projects/apache.org/arrow/package.yml +++ b/projects/apache.org/arrow/package.yml @@ -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