fix(watchman)

requires libunwind

closes #5762
This commit is contained in:
Jacob Heider 2024-04-01 14:26:44 -04:00 committed by Jacob Heider
parent 889613d76c
commit c6596b72bd

View file

@ -1,8 +1,10 @@
distributable: distributable:
url: https://github.com/facebook/watchman/archive/refs/tags/v{{version.raw}}.tar.gz url: https://github.com/facebook/watchman/archive/refs/tags/v{{version.raw}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
github: facebook/watchman github: facebook/watchman
dependencies: dependencies:
boost.org: ^1.84 boost.org: ^1.84
facebook.com/edencommon: '>=2023.12.25.0' facebook.com/edencommon: '>=2023.12.25.0'
@ -18,6 +20,7 @@ dependencies:
python.org: ~3.11 python.org: ~3.11
linux: linux:
llvm.org: ~17 # libunwind llvm.org: ~17 # libunwind
build: build:
dependencies: dependencies:
cmake.org: '*' cmake.org: '*'
@ -43,6 +46,7 @@ build:
- -DENABLE_EDEN_SUPPORT=ON - -DENABLE_EDEN_SUPPORT=ON
- -DWATCHMAN_VERSION_OVERRIDE={{version}} - -DWATCHMAN_VERSION_OVERRIDE={{version}}
linux: linux:
CC: clang
CXXFLAGS: CXXFLAGS:
- -fPIC - -fPIC
- -latomic - -latomic
@ -50,6 +54,7 @@ build:
CMAKE_ARGS: CMAKE_ARGS:
- -DCMAKE_C_FLAGS=-fPIC - -DCMAKE_C_FLAGS=-fPIC
- -DCMAKE_EXE_LINKER_FLAGS=-pie - -DCMAKE_EXE_LINKER_FLAGS=-pie
provides: provides:
- bin/watchman - bin/watchman
- bin/watchman-diag - bin/watchman-diag
@ -57,6 +62,7 @@ provides:
- bin/watchman-wait - bin/watchman-wait
- bin/watchman-replicate-subscription - bin/watchman-replicate-subscription
- bin/watchmanctl - bin/watchmanctl
test: test:
script: script:
- watchman -v | grep {{version}} - watchman -v | grep {{version}}