mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
8af9366da6
commit
1b8dbc9123
|
@ -26,18 +26,15 @@ build:
|
||||||
-DBUILD_TESTING=OFF
|
-DBUILD_TESTING=OFF
|
||||||
- cmake --build build
|
- cmake --build build
|
||||||
- cmake --install build
|
- cmake --install build
|
||||||
|
|
||||||
# Remove bad flags in .pc files.
|
# Remove bad flags in .pc files.
|
||||||
# https://github.com/abseil/abseil-cpp/issues/1408
|
# https://github.com/abseil/abseil-cpp/issues/1408
|
||||||
- run: |
|
- run: sed -i 's/-Xarch_x86_64 -Xarch_x86_64 -Xarch_arm64 //g' *.pc
|
||||||
sed -i '' 's/-Xarch_x86_64 -Xarch_x86_64 -Xarch_arm64 //g' {{ prefix }}/lib/pkgconfig/absl_random_internal_randen_hwaes{_impl,}.pc
|
working-directory: ${{ prefix }}/lib/pkgconfig
|
||||||
if: darwin
|
if: darwin
|
||||||
|
|
||||||
- working-directory: '{{prefix}}/lib/cmake/absl'
|
- run: sed -i -e "s:{{ pkgx.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" abslTargets{,-release}.cmake
|
||||||
run: |
|
working-directory: '{{prefix}}/lib/cmake/absl'
|
||||||
sed -i.bak \
|
|
||||||
-e "s:{{ pkgx.prefix }}:\$\{CMAKE_CURRENT_LIST_DIR\}/../../../../..:g" \
|
|
||||||
abslTargets{,-release}.cmake
|
|
||||||
rm abslTargets{,-release}.cmake.bak
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
script: |
|
script: |
|
||||||
|
|
Loading…
Reference in a new issue