Skip to content

Commit 5b2f2fe

Browse files
committed
CI: libajantv2 build workaround
workaround for aja-video/libajantv2 commit e760d416 (merged 2024-04-15) The NL in VERSION.txt causes cmake fail (obviously the NL) is expanded in cmake where it shouldn't: ``` $ cmake --build libajantv2/build --config Release -j 4 ajantv2/CMakeFiles/ajantv2.dir/build.make:1746: *** missing separator. Stop. gmake[1]: *** [CMakeFiles/Makefile2:174: ajantv2/CMakeFiles/ajantv2.dir/all] Error 2 gmake: *** [Makefile:136: all] Error 2 ````
1 parent 730e047 commit 5b2f2fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/install-common-deps.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ download_install_cineform() {(
3737

3838
download_build_aja() {
3939
git clone --depth 1 https://github.com/aja-video/libajantv2.git
40+
# TODO TOREMOVE this workaround when not needed
41+
tr -d '\n' < libajantv2/VERSION.txt > ver-fix-no-NL$$.txt &&
42+
mv ver-fix-no-NL$$.txt libajantv2/VERSION.txt
4043
export MACOSX_DEPLOYMENT_TARGET=10.13 # needed for arm64 mac
4144
cmake -DAJANTV2_DISABLE_DEMOS=ON -DAJANTV2_DISABLE_DRIVER=ON \
4245
-DAJANTV2_DISABLE_TOOLS=ON -DAJANTV2_DISABLE_TESTS=ON \

0 commit comments

Comments
 (0)