Backed out 2 changesets (bug 903746) for causing non-unified build bustages on nsIPri...
[gecko.git] / third_party / jpeg-xl / BUILDING_Haiku.md
blob1ffca1453c77b2f8bb81d9c000383bd43cc39c5b
1 ## Disclaimer
3 Haiku builds are not officially supported, i.e. the build might not work at all,
4 some tests may fail and some sub-projects are excluded from build.
6 This manual outlines Haiku-specific setup. For general building and testing
7 instructions see "[BUILDING](BUILDING.md)" and
8 "[Building and Testing changes](doc/building_and_testing.md)".
10 ## Dependencies
12 ```shell
13 pkgman install llvm9_clang ninja cmake doxygen libjpeg_turbo_devel giflib_devel
14 ```
16 ## Building
18 ```shell
19 TEST_STACK_LIMIT=none CMAKE_FLAGS="-I/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/8.3.0/include/c++ -I/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/8.3.0/include/c++/x86_64-unknown-haiku" CMAKE_SHARED_LINKER_FLAGS="-shared -Xlinker -soname=libjpegxl.so -lpthread" ./ci.sh opt
20 ```