mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-05 11:08:49 +08:00
28 lines
733 B
TOML
28 lines
733 B
TOML
#TODO maybe incomplete script, see https://github.com/openvkl/openvkl#building-open-vkl-from-source
|
|
[source]
|
|
git = "https://github.com/openvkl/openvkl"
|
|
rev = "712bdb8035487606096d7af90a4c9bde5503515d"
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"ispc",
|
|
"librkcommon",
|
|
"embree",
|
|
"level-zero",
|
|
]
|
|
script = """
|
|
COOKBOOK_CONFIGURE="cmake"
|
|
COOKBOOK_CONFIGURE_FLAGS=(
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
-DCMAKE_CROSSCOMPILING=True
|
|
-DCMAKE_EXE_LINKER_FLAGS="-static"
|
|
-DCMAKE_INSTALL_PREFIX="/"
|
|
-DCMAKE_PREFIX_PATH="${COOKBOOK_SYSROOT}"
|
|
-DCMAKE_SYSTEM_NAME=Generic
|
|
-DCMAKE_SYSTEM_PROCESSOR="$(echo "${TARGET}" | cut -d - -f1)"
|
|
-DCMAKE_VERBOSE_MAKEFILE=On
|
|
"${COOKBOOK_SOURCE}"
|
|
)
|
|
cookbook_configure
|
|
"""
|