Add POSIX test suite, improve gcc recipe

This commit is contained in:
Ron Williams 2025-06-20 19:14:26 -07:00
parent e057c5aa8a
commit aced42af12
2 changed files with 13 additions and 4 deletions

View File

@ -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"
"""

View 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"
"""