mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
Add POSIX test suite, improve gcc recipe
This commit is contained in:
parent
e057c5aa8a
commit
aced42af12
@ -41,8 +41,5 @@ COOKBOOK_CONFIGURE_FLAGS=(
|
||||
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" all-gcc
|
||||
"${COOKBOOK_MAKE}" install-gcc DESTDIR="${COOKBOOK_STAGE}"
|
||||
ln -s "gcc" "${COOKBOOK_STAGE}/bin/cc"
|
||||
pushd "${COOKBOOK_STAGE}"
|
||||
# The symbolic link will be correct on Redox
|
||||
ln -s "/libexec/gcc/${GNU_TARGET}/13.2.0/cc1" "./bin/cc1"
|
||||
popd
|
||||
ln -s "/libexec/gcc/${GNU_TARGET}/13.2.0/cc1" "${COOKBOOK_STAGE}/bin/cc1"
|
||||
"""
|
||||
|
||||
12
recipes/tests/openposixtestsuite/recipe.toml
Normal file
12
recipes/tests/openposixtestsuite/recipe.toml
Normal file
@ -0,0 +1,12 @@
|
||||
[source]
|
||||
git = "https://gitlab.redox-os.org/rw_van/openposixtestsuite.git"
|
||||
branch = "redox"
|
||||
|
||||
[build]
|
||||
template = "custom"
|
||||
script = """
|
||||
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||
# "${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}" build-tests
|
||||
mkdir -pv "${COOKBOOK_STAGE}/share/openposixtests"
|
||||
rsync -av --delete . "${COOKBOOK_STAGE}/share/openposixtestsuite"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user