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