fix(folly)

This commit is contained in:
Jacob Heider 2023-05-08 10:50:19 -04:00 committed by Jacob Heider
parent 897778150b
commit ee11f8fc7e

View file

@ -33,11 +33,12 @@ build:
# piss awful code. # piss awful code.
#TODO dont use exotic characters in our build directories #TODO dont use exotic characters in our build directories
script: | script: |
test -d xyz.tea.srcs && rm -rf xyz.tea.srcs
mv $SRCROOT xyz.tea.srcs mv $SRCROOT xyz.tea.srcs
cmake $ARGS -S xyz.tea.srcs -B . cmake $ARGS -S xyz.tea.srcs -B .
make --jobs {{hw.concurrency}} install make --jobs {{hw.concurrency}} install
sed -i.bak "s:$TEA_PREFIX:\$\{_IMPORT_PREFIX\}/../../..:g" "{{prefix}}"/lib/cmake/folly/folly-targets.cmake sed -i.bak "s:$(tea --prefix):\$\{_IMPORT_PREFIX\}/../../..:g" "{{prefix}}"/lib/cmake/folly/folly-targets.cmake
rm "{{prefix}}"/lib/cmake/folly/folly-targets.cmake.bak rm "{{prefix}}"/lib/cmake/folly/folly-targets.cmake.bak
cd {{prefix}}/lib/pkgconfig cd {{prefix}}/lib/pkgconfig