mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-24 13:54:19 +08:00
Try to fix more CMake-based recipes
This commit is contained in:
parent
dcc49081a2
commit
b2f1433320
@ -1,21 +1,7 @@
|
||||
#TODO maybe incomplete script, see https://github.com/xtensor-stack/xtl#install-from-sources
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/xtensor-stack/xtl#install-from-sources
|
||||
[source]
|
||||
git = "https://github.com/xtensor-stack/xtl"
|
||||
rev = "c95f6c8b13ffb7f74f16d3fd6882668b79bd8412"
|
||||
[build]
|
||||
template = "custom"
|
||||
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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
@ -1,23 +1,9 @@
|
||||
#TODO maybe incomplete script, see https://github.com/arximboldi/zug#usage
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/arximboldi/zug#usage
|
||||
[source]
|
||||
git = "https://github.com/arximboldi/zug"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"boost",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,21 +1,7 @@
|
||||
#TODO probably wrong script, see https://github.com/microsoft/mimalloc#macos-linux-bsd-etc
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/microsoft/mimalloc#macos-linux-bsd-etc
|
||||
[source]
|
||||
git = "https://github.com/microsoft/mimalloc"
|
||||
rev = "43ce4bd7fd34bcc730c1c7471c99995597415488"
|
||||
[build]
|
||||
template = "custom"
|
||||
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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
@ -1,20 +1,6 @@
|
||||
#TODO maybe incomplete script, see https://github.com/mltframework/mlt#readme
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/mltframework/mlt#readme
|
||||
[source]
|
||||
tar = "https://github.com/mltframework/mlt/releases/download/v7.22.0/mlt-7.22.0.tar.gz"
|
||||
[build]
|
||||
template = "custom"
|
||||
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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
@ -1,24 +1,10 @@
|
||||
#TODO maybe incomplete script, see https://github.com/OpenImageDenoise/oidn#compiling-on-linuxmacos
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/OpenImageDenoise/oidn#compiling-on-linuxmacos
|
||||
[source]
|
||||
git = "https://github.com/OpenImageDenoise/oidn"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"ispc",
|
||||
"onetbb",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,24 +1,10 @@
|
||||
#TODO maybe incomplete script, see https://oneapi-src.github.io/oneDNN/dev_guide_build.html#linux-macos
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://oneapi-src.github.io/oneDNN/dev_guide_build.html#linux-macos
|
||||
[source]
|
||||
git = "https://github.com/oneapi-src/oneDNN"
|
||||
rev = "16720eaaab9557158ff77ebf3bc610e9682928d6"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"onetbb",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,21 +1,7 @@
|
||||
#TODO maybe incomplete script, see https://github.com/oneapi-src/oneTBB/blob/master/INSTALL.md
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/oneapi-src/oneTBB/blob/master/INSTALL.md
|
||||
[source]
|
||||
git = "https://github.com/oneapi-src/oneTBB"
|
||||
rev = "8b829acc65569019edb896c5150d427f288e8aba"
|
||||
[build]
|
||||
template = "custom"
|
||||
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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
@ -1,27 +1,13 @@
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://opencolorio.readthedocs.io/en/latest/quick_start/installation.html
|
||||
#TODO missing dependencies, see https://opencolorio.readthedocs.io/en/latest/quick_start/installation.html#dependencies
|
||||
#TODO maybe incomplete script, see https://opencolorio.readthedocs.io/en/latest/quick_start/installation.html
|
||||
[source]
|
||||
git = "https://github.com/AcademySoftwareFoundation/OpenColorIO"
|
||||
rev = "92db29b9e7e298c4c2cc67c8a74944c2e7e716e5"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"expat",
|
||||
"imath",
|
||||
"zlib",
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,22 +1,8 @@
|
||||
#TODO probably wrong script, lacking build instructions
|
||||
#TODO not compiled or tested
|
||||
# lacking build instructions
|
||||
[source]
|
||||
git = "https://github.com/opencv/opencv"
|
||||
rev = "49486f61fb25722cbcf586b7f4320921d46fb38e"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
@ -1,25 +1,11 @@
|
||||
#TODO maybe incomplete script, see https://openexr.com/en/latest/install.html#linux-macos
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://openexr.com/en/latest/install.html#linux-macos
|
||||
[source]
|
||||
git = "https://github.com/AcademySoftwareFoundation/openexr"
|
||||
rev = "737b2707a001e67f3812d86a639c3d037efe2ea8"
|
||||
[build]
|
||||
template = "custom"
|
||||
template = "cmake"
|
||||
dependencies = [
|
||||
"libdeflate",
|
||||
"libimath"
|
||||
]
|
||||
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
|
||||
"""
|
||||
|
||||
@ -1,21 +1,7 @@
|
||||
#TODO maybe incomplete script, see https://github.com/uclouvain/openjpeg/blob/master/INSTALL.md
|
||||
#TODO not compiled or tested
|
||||
# build instructions: https://github.com/uclouvain/openjpeg/blob/master/INSTALL.md
|
||||
[source]
|
||||
git = "https://github.com/uclouvain/openjpeg"
|
||||
rev = "a5891555eb49ed7cc26b2901ea680acda136d811"
|
||||
[build]
|
||||
template = "custom"
|
||||
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
|
||||
"""
|
||||
template = "cmake"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user