fix(folly) (#6141)

* fix(folly)

closes #6116

* +elfutils

* -jemalloc

* +jemalloc

* -lrt

* #undef

* -lunwind

* use jemalloc fixed in #6156
This commit is contained in:
Jacob Heider 2024-05-15 17:52:32 -04:00 committed by GitHub
parent e00f3ec757
commit aa7c57f3fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,10 @@ dependencies:
zlib.net: ^1 zlib.net: ^1
darwin: darwin:
sourceware.org/bzip2: '*' sourceware.org/bzip2: '*'
linux:
llvm.org: ^17 # libunwind, since 2024.5.13.0
jemalloc.net: ^5 # since 2024.5.13.0
elfutils.org: ^0 # for dwarf.h, since 2024.5.13.0
build: build:
dependencies: dependencies:
@ -66,11 +70,15 @@ build:
- -DCMAKE_BUILD_TYPE=Release - -DCMAKE_BUILD_TYPE=Release
- -DBUILD_TESTING=OFF - -DBUILD_TESTING=OFF
- -DCMAKE_VERBOSE_MAKEFILE=ON - -DCMAKE_VERBOSE_MAKEFILE=ON
- -DFOLLY_USE_JEMALLOC=OFF
linux/aarch64: linux/aarch64:
ARGS: ARGS:
- -DCMAKE_C_FLAGS=-fPIC - -DCMAKE_C_FLAGS=-fPIC
- -DCMAKE_CXX_FLAGS=-fPIC - -DCMAKE_CXX_FLAGS=-fPIC
- -DCMAKE_EXE_LINKER_FLAGS=-pie - -DCMAKE_EXE_LINKER_FLAGS=-Wl,-pie,-lrt,-lunwind
linux/x86-64:
ARGS:
- -DCMAKE_EXE_LINKER_FLAGS=-Wl,-pie,-lrt,-lunwind
test: test:
fixture: | fixture: |