Commit graph

41 commits

Author SHA1 Message Date
Martin Kinkelin
8a261040cb Restore posix.mak, forwarding to generic Makefile 2023-12-09 15:59:14 +01:00
Martin Kinkelin
ff698ba103 Convert posix.mak to generic Makefile
Usable on Windows too, with a GNU make.
2023-12-09 15:59:14 +01:00
Martin Kinkelin
2dea31b3bb Top-level posix.mak: Include druntime in test and clean rules
This probably pre-dates the druntime merge into the dmd repo.
2023-12-09 15:59:14 +01:00
Martin Kinkelin
812d0611f2 Remove deprecated compiler/test/Makefile 2023-12-09 15:59:14 +01:00
Martin Kinkelin
c847abc42a Remove deprecated compiler Makefiles 2023-12-09 15:59:14 +01:00
Tim Schendekehl
0fe7a28dd1
Issue 24239 - dlang.org tests on CircleCI run out of memory (#15799)
Add variable BUILD_JOBS to posix.mak, which allows to set the number of
jobs for build.d. This will be used by a separate pull request for
dlang.org to manually set it, because the automatically calculated
number of CPU cores is too high.
2023-11-14 14:03:29 +01:00
Iain Buclaw
f382114888 Makefile: stub out all auto-tester-build and auto-tester-test recipes 2023-01-03 01:23:03 +02:00
Iain Buclaw
09d04945bd Fix build script paths to work with new merged repository structure
Co-Authored-By: Geod24 <pro.mathias.lang@gmail.com>
Co-Authored-By: Martin Kinkelin <noone@nowhere.com>
Co-Authored-By: Vladimir Panteleev <git@cy.md>
2022-07-09 23:49:27 +02:00
Atila Neves
3e724780a2 Build dmd before attempting to test it 2020-09-17 01:20:19 +02:00
MoonlightSentinel
3cbf4c2744
Run header test for linux on the auto-tester 2020-09-02 12:11:22 +02:00
Martin Kinkelin
07ec5cdbb1 Add build option ENABLE_ASSERTS and use it for CI
To finally have DMD's own assertions properly CI-tested. Assertions have
so far only been enabled for CircleCI (reduced testsuite on Linux x64)
and one Azure job (Win64 debug).
2020-08-24 10:41:14 +02:00
MoonlightSentinel
7ec7deaa9c Use .NOTPARALLEL in posix.mak instead of lockfiles in build.d
They achieve the same behaviour as `posix.mak` simply forwards to build.d.

This is a workaround for https://issues.dlang.org/show_bug.cgi?id=20999
which seems to be caused by some local library based on these observations:

- the failure is restricted to the macair host, no failures
  on D-Autotester.local
- the failure happens upon the second invocation of build.d
- removing `--called-from-make` makes the errror disappear.
  This switch enables a lockfile (`generated/build.lock`) which ensures
  that mutliple instances of build.d are run mutually exclusive (this
  was required during the `make` -> build.d transition but is obsolete now)
2020-08-19 07:30:26 +02:00
Paul Backus
6c84dc2263 Fix tag generation on posix 2020-06-02 09:03:54 -04:00
Geod24
45bc42393d Fix issue 19949 - C++ Mangling: add support for abi-tags from the Itanium ABI
Implements C++ ABI tags with a few more restriction than the previous PR (9995).
In particular, do not follow C++ source-level conventions when impractical
(e.g. propagation). Since this is a feature that will be seldom used by users,
I favored implementation simplicity over user-friendly semantics.

Co-Authored-By: سليمان السهمي  (Suleyman Sahmi) <sahmi.soulaimane@gmail.com>
2020-03-28 05:09:04 +09:00
Geod24
c6c14a1e3c Disable runnable_cxx on POSIX's auto-tester
This is now handled by Github actions. Don't disable Windows because this hasn't been implemented yet.
2020-03-28 05:09:04 +09:00
سليمان السهمي (Suleyman Sahmi)
03ae57057c Disable make install for the Darwin_64_32 target on the auto-tester
OSX 32 bits builds and tests were disabled on the auto-tester but `make install` was still being run and sometimes hangs to at most an hour for obscure reasons.
2019-12-31 08:56:31 +00:00
MoonlightSentinel
c507b988cb build.d: Add toolchain-info as dependency of auto-tester-build
This avoids an additional make and build.d invocation and prints the currently
used tools on windows machine as well.
2019-12-01 03:20:07 +01:00
Jonathan Marler
fa342342d7 Move avg and impvisitor examples to test/dub_package 2019-11-12 22:19:17 -07:00
Sebastian Wilzbach
e0dc9ba754 Disable OSX-32 on the auto-tester (build) 2019-03-19 10:14:18 +01:00
Sebastian Wilzbach
6fcf573df8 Disable OSX-32 on the auto-tester 2019-02-27 04:29:12 +01:00
Sebastian Wilzbach
8ee883aee7 Add buildkite-test target 2018-08-21 17:14:57 +02:00
Sebastian Wilzbach
fc690fd23b Add DScanner 2018-08-13 18:12:44 +02:00
Sebastian Wilzbach
c9515ed880 Improve untracked file check 2018-03-13 14:30:45 +01:00
Sebastian Wilzbach
bbabe579ed Ensure that the testsuite doesn't generate unchecked temporary files 2017-12-22 10:29:52 +01:00
Sebastian Wilzbach
34fa7f44fe Cleanup DMD as a library build files
- Allow them to be directly executable (via the DMD DUB package)
- Add a wild rule to avoid redundant logic
- Remove irrelevant link flags like `-L-lstd++`
- Move example binaries to the generated directory
- Start building the examples on auto-tester (Posix-only for now)
- Make Phobos path in impvisitor example more robust
2017-12-11 04:41:10 +01:00
Sebastian Wilzbach
fed25ec02a Run dmd internal unittests on CIs 2017-12-07 06:04:42 +01:00
Martin Nowak
6210a3f4a7 print toolchain info in auto-tester 2017-04-21 21:36:39 +02:00
Sebastian Wilzbach
ce74ec7654 posix.mak: Add style target to simplify CI setup 2017-02-22 00:39:13 +01:00
Martin Nowak
76cc66bb48 build compiler w/ optimizations to speed up test suite
- we don't have any invariants in dmd, but pay quite some
  overhead for the redundant checks
- even though dmd's backend is not that good and fairly slow
  at optimizing, the cost amortizes over the whole test suite
  (~25% speed-up for me)
- actually test what we ship ✓
- at best we'd run a release build w/ assertions, but dmd
  doesn't currently support this (required sth. like -release=assert)
2016-08-07 04:20:45 +02:00
Andrei Alexandrescu
51d373ad64 Add html doc build for dmd 2016-01-14 23:45:41 -05:00
Per Nordlöw
cec64493db Include D sources in tags scanning 2015-09-22 11:05:27 +02:00
Daniel Murphy
af664d46eb Fix autotester ddmd posix build 2015-08-16 14:35:49 +10:00
Dmitry Olshansky
58b3055455 Merge pull request #4692 from CyberShadow/pull-20150530-153836
posix.mak: Add DELETE_ON_ERROR
2015-06-14 13:04:10 +03:00
Brad Roberts
69ab2d62f6 add top level make files 2015-06-05 15:15:23 -07:00
Vladimir Panteleev
564361fb0e posix.mak: Add DELETE_ON_ERROR
Delete output files if the command fails.
2015-05-30 15:38:43 +00:00
Per Nordlöw
9eb05d87e8 Fix layout and ECTAGS_FILES 2014-03-10 13:37:57 +01:00
Per Nordlöw
a447f52d8c Scan C++ headers (.h) aswell when generating tags 2014-03-10 13:14:44 +01:00
Per Nordlöw
e9cd546065 Add Makefile rule for generating Exuberant Ctags tags file 2014-03-10 13:14:44 +01:00
Martin Nowak
9c15a4dc27 fix Issue 11956 - dmd doesn't lookup /etc/dmd.conf
- define variable in src/posix.mak instead of posix.mak
- fix quotes
- assert that SYSCONFDIR was set to a non-empty string
2014-01-21 18:48:48 +01:00
Stefan
5c61ce8124 inifile: use SYSCONFDIR 2014-01-05 01:33:01 +01:00
Brad Roberts
e993c4cefa first pass of install targets 2013-06-02 11:53:33 -07:00