[libcxx-commits] [libcxx] [libc++] Remove explicit mentions of __need_FOO macros (PR #119025)

Petr Hosek via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 19 12:21:48 PST 2024


petrhosek wrote:

I tested the following instructions locally and confirmed that it reproduces the failure:

```
docker run --rm -it ubuntu:24.04
$ apt-get update
$ apt install lsb-release wget software-properties-common gnupg git cmake ninja-build zstd
$ wget https://apt.llvm.org/llvm.sh
$ chmod +x llvm.sh
$ ./llvm.sh 19 all
$ wget https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/b2JMQqG2TSWBboQasE6Lag/runs/0/artifacts/public%2Fbuild%2Fsysroot-x86_64-linux-gnu.tar.zst
$ tar -xf public%2Fbuild%2Fsysroot-x86_64-linux-gnu.tar.zst
$ git clone https://github.com/llvm/llvm-project
$ cd llvm-project
$ cmake -S runtimes/ -B build -DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" -DCMAKE_CXX_COMPILER=clang++-19 -DCMAKE_C_COMPILER=clang-19 -DCMAKE_SYSROOT=/sysroot-x86_64-linux-gnu -GNinja
$ ninja -C build
```

https://github.com/llvm/llvm-project/pull/119025


More information about the libcxx-commits mailing list