Merge branch 'fix-gcc-as' into 'master'

Add POSIX test suite, improve gcc recipe

See merge request redox-os/cookbook!507
This commit is contained in:
Jeremy Soller 2025-06-25 08:44:13 -06:00
commit 0366487440
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"
"""