mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
libcxx: don't conflict with installed
This commit is contained in:
parent
7897bbe992
commit
72102b7885
1 changed files with 6 additions and 5 deletions
|
@ -6,11 +6,6 @@ versions:
|
|||
github: llvm/llvm-project
|
||||
strip: /^llvmorg-/
|
||||
|
||||
runtime:
|
||||
env:
|
||||
linux:
|
||||
CPATH: $CPATH:{{prefix}}/include/c++/v1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
cmake.org: '>=3<3.29'
|
||||
|
@ -46,6 +41,12 @@ test:
|
|||
dependencies:
|
||||
llvm.org: '*'
|
||||
script:
|
||||
# installed libc++ causes header conflict
|
||||
- run: |
|
||||
if ! ldconfig -p | grep -q libc++.so; then
|
||||
ARGS="$ARGS -cxx-isystem {{prefix}}/include/c++/v1"
|
||||
fi
|
||||
if: linux
|
||||
- run: clang++ $ARGS $FIXTURE
|
||||
fixture:
|
||||
extname: cpp
|
||||
|
|
Loading…
Reference in a new issue