Skip to content

Commit

Permalink
bootstrap libcxx-devel as a wrapper around libcxx
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Aug 26, 2024
1 parent 8fb9aec commit 74204e6
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ source:
- patches/0004-Work-around-stray-nostdlib-flags-causing-errors-with.patch

build:
number: 5
number: 6
skip: true # [win]
skip: true # [ppc64le or aarch64]

Expand Down Expand Up @@ -50,13 +50,14 @@ outputs:
run_exports: # [hardening == "debug"]
# packages built with hardened lib must not be installable without extra label
- libcxx =*=debug* # [hardening == "debug"]
files:
- include/c++ # [unix]
- lib/libc++.a # [unix]
- lib/libc++experimental.* # [unix]
- Library/include/c++ # [win]
- Library/lib/c++*.lib # [win]
- Library/lib/libc++*.lib # [win]
# temporarily still in libcxx, until we update compiler stack w.r.t. libcxx-devel
# files:
# - include/c++ # [unix]
# - lib/libc++.a # [unix]
# - lib/libc++experimental.* # [unix]
# - Library/include/c++ # [win]
# - Library/lib/c++*.lib # [win]
# - Library/lib/libc++*.lib # [win]
requirements:
host:
- {{ pin_subpackage("libcxx", exact=True) }}
Expand Down Expand Up @@ -131,6 +132,13 @@ outputs:
- lib/libc++.dylib # [osx]
- lib/libc++.*.dylib # [osx]
- Library/bin/c++*.dll # [win]
# temporarily still in libcxx, until we update compiler stack w.r.t. libcxx-devel
- include/c++ # [unix]
- lib/libc++.a # [unix]
- lib/libc++experimental.* # [unix]
- Library/include/c++ # [win]
- Library/lib/c++*.lib # [win]
- Library/lib/libc++*.lib # [win]
requirements:
build:
- {{ stdlib('c') }}
Expand All @@ -148,9 +156,9 @@ outputs:
- test -f $PREFIX/lib/libc++.so # [linux]
- test -f $PREFIX/lib/libc++.dylib # [osx]
# absence of static libs & headers
- test ! -f $PREFIX/lib/libc++.a # [unix]
- test ! -f $PREFIX/lib/libc++experimental.a # [unix]
- test ! -d $PREFIX/include/c++ # [unix]
# - test ! -f $PREFIX/lib/libc++.a # [unix]
# - test ! -f $PREFIX/lib/libc++experimental.a # [unix]
# - test ! -d $PREFIX/include/c++ # [unix]

- name: libcxxabi
build:
Expand Down

0 comments on commit 74204e6

Please sign in to comment.