diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-03-25 09:38:58 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-18 18:25:49 +0200 |
commit | 261bd78d57d40a03f340cfe4fc78ff9717c9602d (patch) | |
tree | 56918700689bbafd55af340a13d15c94ac5831fe /libphobos/configure.tgt | |
parent | baf3b9b2e5259558ef86bd62398e2ccecd7a4a4c (diff) | |
download | gcc-261bd78d57d40a03f340cfe4fc78ff9717c9602d.zip gcc-261bd78d57d40a03f340cfe4fc78ff9717c9602d.tar.gz gcc-261bd78d57d40a03f340cfe4fc78ff9717c9602d.tar.bz2 |
libphobos: Add --with-libphobos-druntime-only option.
The intended purpose of the option is both for targets that don't
support phobos yet, and for gdc itself to support bootstrapping itself
as a self-hosted D compiler.
The libphobos testsuite has been updated to only add libphobos to the
search paths if it's being built. A new D2 testsuite directive
RUNNABLE_PHOBOS_TEST has also been patched in to disable some runnable
tests that have phobos dependencies, of which is a temporary measure
until upstream DMD fixes or removes these tests entirely.
gcc/testsuite/ChangeLog:
* lib/gdc-utils.exp (gdc-convert-test): Add dg-skip-if for tests that
depending on the phobos standard library.
libphobos/ChangeLog:
* configure: Regenerate.
* configure.ac: Add --with-libphobos-druntime-only option and the
conditional ENABLE_LIBDRUNTIME_ONLY.
* configure.tgt: Define LIBDRUNTIME_ONLY.
* src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
* src/Makefile.in: Regenerate.
* testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
Diffstat (limited to 'libphobos/configure.tgt')
-rw-r--r-- | libphobos/configure.tgt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index 8ef552a..66082e3 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -22,6 +22,7 @@ # Disable the libphobos or libdruntime components on untested or known # broken systems. More targets shall be added after testing. LIBPHOBOS_SUPPORTED=no +LIBDRUNTIME_ONLY=auto case "${target}" in aarch64*-*-linux*) LIBPHOBOS_SUPPORTED=yes |