bf96e50e44
- Introduced valgrind with a patch to respect flags and updated its configuration. - Added Vulkan ICD loader with CMake build configuration. - Implemented Waf build system with a custom build script and configuration. - Included Wayland protocols with Meson build system. - Added xcb-util-keysyms with autotools configuration. - Introduced Yasm with multiple patches for compatibility and improvements. - Added Yelp tools and XSL with Meson build configurations and necessary patches for POSIX compliance.
29 lines
660 B
Bash
29 lines
660 B
Bash
cmake \
|
|
-Bbuild-static \
|
|
-GNinja \
|
|
-DCMAKE_INSTALL_PREFIX='/usr' \
|
|
-DCMAKE_BUILD_TYPE='None' \
|
|
-DALLOW_EXTERNAL_SPIRV_TOOLS='ON' \
|
|
-DBUILD_SHARED_LIBS='OFF'
|
|
cmake --build build-static
|
|
|
|
cmake \
|
|
-Bbuild-shared \
|
|
-GNinja \
|
|
-DCMAKE_INSTALL_PREFIX='/usr' \
|
|
-DCMAKE_BUILD_TYPE='None' \
|
|
-DALLOW_EXTERNAL_SPIRV_TOOLS='ON' \
|
|
-DBUILD_SHARED_LIBS='ON' \
|
|
-DGLSLANG_TESTS='ON'
|
|
cmake --build build-shared
|
|
|
|
DESTDIR="$DESTDIR" cmake --install build-static
|
|
DESTDIR="$DESTDIR" cmake --install build-shared
|
|
|
|
|
|
cd "$DESTDIR/usr/lib" || exit 1
|
|
for lib in *.so; do
|
|
[ -e "$lib" ] || continue
|
|
ln -sf "$lib" "$lib.0"
|
|
done
|