Message ID | 20240402115143.87098-1-iain@sandoe.co.uk |
---|---|
State | New |
Headers | show |
Series | libphobos, Darwin: Enable libphobos for most Darwin. | expand |
Excerpts from Iain Sandoe's message of April 2, 2024 1:51 pm: > I have been building and testing D/libphobos for some time and over > some GCC and OS releases. As discussed on IRC a while ago, I think > we're ready to enable this (it also avoids an annoying build fail at > stage 2 if one forgets to add the enable to the command line). > > Also tested on x86_64 and powerpc64 linux gnu. > > OK for trunk? > OK for backports? > thanks, > Iain > If you're confident, OK, let's enable it. Iain.
diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 13879380416..71596444488 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -27,6 +27,9 @@ case "${target}" in *-*-dragonfly*) LIBPHOBOS_SUPPORTED=yes ;; + aarch64-*-darwin2*) + LIBPHOBOS_SUPPORTED=yes + ;; aarch64*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; @@ -58,6 +61,12 @@ case "${target}" in sparc*-*-solaris2.11*) LIBPHOBOS_SUPPORTED=yes ;; + *-*-darwin9* | *-*-darwin1[01]*) + LIBDRUNTIME_ONLY=yes + ;; + x86_64-*-darwin1[2-9]* | x86_64-*-darwin2* | i?86-*-darwin1[2-7]) + LIBPHOBOS_SUPPORTED=yes + ;; x86_64-*-freebsd* | i?86-*-freebsd*) LIBPHOBOS_SUPPORTED=yes ;;
I have been building and testing D/libphobos for some time and over some GCC and OS releases. As discussed on IRC a while ago, I think we're ready to enable this (it also avoids an annoying build fail at stage 2 if one forgets to add the enable to the command line). Also tested on x86_64 and powerpc64 linux gnu. OK for trunk? OK for backports? thanks, Iain --- 8< --- Earlier Darwin systems can be made to work too - but they need non- standard 'binutils', so for now these must be enabled specifically. libphobos/ChangeLog: * configure.tgt: Enable libphobos for Darwin >= 12. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> --- libphobos/configure.tgt | 9 +++++++++ 1 file changed, 9 insertions(+)