Skip to content

Commit 403c415

Browse files
committed
[GCC 14] Add comments about necessity to make backward-compatible changes
1 parent d09103e commit 403c415

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

0_RootFS/gcc_common.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616
#
1717
# ORIGDIR=../../../GCCBootstrap@XYZ/bundled/patches; for p in ${ORIGDIR}/{,*/}*.patch; do DESTDIR=$(dirname ${p#"${ORIGDIR}/"}); mkdir -p "${DESTDIR}"; if [[ -L "${p}" ]]; then cp -a "${p}" "${DESTDIR}"; else ln -s $(realpath --relative-to="${DESTDIR}" "${p}") "${DESTDIR}"; fi; done
1818
#
19+
# * adapt the recipe as necessary, but try to make changes in a backward
20+
# compatible way. If you introduce steps that are necessary only with
21+
# specific versions of GCC, guard them with appropriate conditionals. We may
22+
# need to use the same recipe to rebuild older versions of GCC at a later
23+
# point and being able to rerun it as-is is extremely important
1924
# * you can build only one platform at the time. To deploy the compiler shards
2025
# and automatically update your BinaryBuilderBase's `Artifacts.toml`, use the
2126
# `--deploy` flag to the `build_tarballs.jl` script. You can either build &

0_RootFS/llvm_common.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@
1010
#
1111
# for p in ../../../LLVMBootstrap@X-1/bundled/patches/*.patch; do if [[ -L "${p}" ]]; then cp -a "${p}" .; else ln -s "${p}" .; fi; done
1212
#
13+
# * adapt the recipe as necessary, but try to make changes in a backward
14+
# compatible way. If you introduce steps that are necessary only with
15+
# specific versions of LLVM, guard them with appropriate conditionals. We may
16+
# need to use the same recipe to rebuild older versions of LLVM at a later
17+
# point and being able to rerun it as-is is extremely important
1318
# * you only need to build the platform `x86_64-linux-musl`. To deploy the shard
1419
# and automatically update your BinaryBuilderBase's `Artifacts.toml`, use the
1520
# `--deploy` flag to the `build_tarballs.jl` script. You can build & deploy
1621
# by running:
1722
#
1823
# julia build_tarballs.jl --debug --verbose --deploy
19-
#
2024

2125
include("./common.jl")
2226

0 commit comments

Comments
 (0)