mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-20 07:37:18 +03:00
Merge 7aa77c8e2a into b44e84086f
This commit is contained in:
commit
bf09e8b96c
11 changed files with 368 additions and 12 deletions
19
.github/workflows/linux-ci.yml
vendored
19
.github/workflows/linux-ci.yml
vendored
|
|
@ -717,4 +717,23 @@ jobs:
|
|||
make check
|
||||
|
||||
|
||||
test-linux-lto:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Install clang, lld and llvm
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y clang lld llvm
|
||||
|
||||
- name: Build and test (whole-program ThinLTO, je_ prefix)
|
||||
run: |
|
||||
autoconf
|
||||
CC=clang AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib \
|
||||
./configure --with-jemalloc-prefix=je_ EXTRA_CFLAGS=-flto=thin
|
||||
make -j3 EXTRA_LDFLAGS="-flto=thin -fuse-ld=lld"
|
||||
make -j3 tests EXTRA_LDFLAGS="-flto=thin -fuse-ld=lld"
|
||||
make check
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue