26 Commits

Author SHA1 Message Date
Sadie Powell
071499a22c Write to STDERR on error in test-build. 2021-05-28 20:07:50 +01:00
InspIRCd Robot
1bf7ca3894 Update copyright headers. 2021-02-26 06:58:13 +00:00
Sadie Powell
2fceea41e8 Always use for in Perl modules. 2021-01-29 13:46:37 +00:00
Sadie Powell
f6b861f12d Fix unnecessary begin blocks in Perl source files. 2021-01-25 12:39:56 +00:00
Sadie Powell
5960cbcde3 Fix get_cpu_count not being evaluated as a scalar.
This fixes a bug where the changes in 0c34d28447 did not work.
2020-03-09 03:44:41 +00:00
Sadie Powell
0c34d28447 Tell people to run make with the number of CPU cores plus 1.
This results in faster builds as there's always one job waiting.
2020-02-10 11:59:15 +00:00
InspIRCd Robot
8f62016f16 Update copyright headers. 2020-01-31 12:48:25 +00:00
Sadie Powell
87471ab92d Add a function for showing a command whilst executing it. 2020-01-18 14:25:03 +00:00
Sadie Powell
04b5090a2f Disable auto extras when TEST_BUILD_MODULES is set in test-build. 2020-01-18 13:32:41 +00:00
Sadie Powell
19cdd93861 Fix Perl tools not using the correct directory name in 'use lib'. 2020-01-17 15:35:20 +00:00
InspIRCd Robot
aa692dc103 Update copyright headers. 2020-01-11 22:14:43 +00:00
Sadie Powell
56375392ba Update my name and email address. 2019-12-31 20:55:17 +01:00
Peter Powell
62dc1769c9 Omit debug symbols when doing CI builds.
This provides a significant build time improvement.
2019-04-16 12:09:30 +01:00
Peter Powell
d9a52277df Remove support for static modules.
This has been frequently broken in the past and as far as I know is
used by literally nobody.

Also, even if all modules are compiled into the core any libraries
linked against are and have always been linked dynamically making
this unusable on platforms without dynamic libraries.
2018-07-31 03:20:18 +01:00
Peter Powell
d4414f5491 Remove support for the Solaris IOCP socket engine.
After discussing this with Adam we have decided that there is very
little point in keeping this now that Solaris has been killed. Any
legacy Solaris users will have to make do with poll.

This change does not affect users of Solaris forks like Illumos as
they have support for epoll which will have already been selected
over Solaris IOCP by configure.
2017-10-22 19:42:11 +01:00
Peter Powell
c5d9b2d6c1 test-build: Pass the make jobs as a separate argument.
The old way was only necessary when we supported BSD Make.
2017-10-15 03:55:53 +01:00
Peter Powell
1d45a7264c Update build system for the removal of . from @INC. 2016-11-08 09:31:56 +00:00
Peter Powell
fb029add36 Speed up Travis builds.
- Switch Linux builds to Ubuntu 14.04 from 12.04.
- Split dynamic and static builds into different jobs.
- Remove OS X builds as the infrastructure is slow and unreliable.
2016-09-15 02:21:53 +01:00
Peter Powell
eaa3de48d2 Rename D to INSPIRCD_DEBUG. 2016-04-04 13:20:21 +01:00
Peter Powell
be74a8c8d2 Rename V to INSPIRCD_VERBOSE. 2016-04-04 13:20:21 +01:00
Peter Powell
30bd7bb39f Rename PURE_STATIC to INSPIRCD_STATIC. 2016-04-04 13:20:21 +01:00
Peter Powell
aae283e1dd Convert the build system to Perl 5.10.
Thanks to Kross for the heads up on "use feature".
2015-03-25 19:01:33 +00:00
Peter Powell
1dc79dcdff Add development version checks to non-interactive mode. 2015-03-06 16:13:11 +00:00
Peter Powell
a04c4d81e2 Add support for extra modules and custom compilers to test-build. 2014-12-07 22:41:04 +00:00
Peter Powell
7404ba8b66 Move common code to make::common from make::utilities.
The other code in that file will be removed very soon so it has
been left alone to avoid merge conflicts.

This will help prevent insp20 merge conflicts in the future.
2014-12-07 22:36:43 +00:00
Peter Powell
b28bf791c2 Add a tool for running test builds. 2013-12-16 04:14:42 +00:00