Jason Volk
86c4e2be36
configure: Allow GCC to suggest more attributes.
2019-08-05 15:09:28 -07:00
Jason Volk
5c158f2a83
configure: Enable warnings when throwing into a noexcept.
2019-08-05 14:51:53 -07:00
Jason Volk
d004720fdd
configure: Fix some AC_SUBST's.
2019-07-19 18:17:53 -07:00
Jason Volk
df5f00d145
configure: Fix clang-7 incompatible optimization cxxflags.
2019-07-19 16:25:42 -07:00
Jason Volk
2aafbaff5c
configure: Fix includedir and install path related.
2019-07-12 19:29:51 -07:00
Jason Volk
9bff6a5b0d
Revert using jemalloc by default
...
Revert "configure: Improve defaulting by 1abbd7a2dcf7c0118ea4e699b900014a4d15eb66"
This reverts commit 9129be58eb
.
Revert "configure: Use jemalloc by default if available."
This reverts commit 1abbd7a2dc
.
2019-07-04 00:43:49 -07:00
Jason Volk
9129be58eb
configure: Improve defaulting by 1abbd7a2dc
2019-07-03 21:44:45 -07:00
Jason Volk
c67daf7bc9
configure: Rename enable alloc-libs -> malloc-libs.
2019-07-03 21:43:07 -07:00
Jason Volk
1abbd7a2dc
configure: Use jemalloc by default if available.
2019-07-03 19:03:24 -07:00
Jason Volk
ea0a1df3a1
configure: Add options for third-party allocator selection/deselection and inclusion.
2019-07-03 18:02:54 -07:00
Jason Volk
e0e36dfabd
configure: Add -Wno-unknown-warning-option for clang only for GCC conflict noise.
2019-06-24 01:33:00 -06:00
Jason Volk
30ee090663
configure: No -Werror=return-type for clang due to remaining extern C linkage complaints.
2019-06-24 01:22:10 -06:00
Jason Volk
fc89e02ff7
configure: Remove -pthread cxxflag for clang.
2019-06-24 01:19:18 -06:00
Jason Volk
f3afd69bca
configure: Remove bnd_instrument related; deprecated by gcc-9.
2019-06-22 16:56:43 -06:00
Jason Volk
e1841a7159
configure: Condition options for clang compatibility.
2019-06-21 02:26:00 -07:00
Jason Volk
78bc2e5392
configure: Check for experimental pmr.
2019-06-17 13:16:40 -07:00
Jason Volk
992ed22846
configure: Fix sodium variable assignments.
2019-06-13 16:29:10 -07:00
Jason Volk
3d04ed9ad0
configure: Remove the CPPDEFINE for RB_TIME_CONFIGURED.
2019-06-13 15:03:32 -06:00
Jason Volk
6aae730d5a
configure: Improve sodium related macros; fix missing SODIUM_LIBS assignment.
2019-06-13 13:51:49 -06:00
Jason Volk
3794c3e7df
configure: Document why we use AC_CHECK_LIB inside PKG_CHECK_MODULES here. [ci skip]
2019-06-06 15:11:12 -07:00
Jason Volk
2b43a5a92b
configure: Add --enable-compact for the smallest possible building and linking.
2019-06-06 05:29:07 -07:00
Jason Volk
3267c522ee
configure: Fallback to AC_CHECK_LIB if PKG_CHECK_MODULES fails.
2019-06-06 04:44:00 -07:00
Jason Volk
160734e3b4
configure: Define HAVE_SODIUM in config.h on pkg found.
2019-06-06 03:54:37 -07:00
Danilo Spinella
731e474b10
configure: Use pkg check for libsodium.
2019-06-06 03:45:30 -07:00
Jason Volk
5ab5ef53cf
configure: Disable generating synchronization guards around static initializations.
2019-06-05 13:57:04 -07:00
Jason Volk
29cdca5fbe
ircd::mods::ldso: Add a strtab lookup tool.
2019-06-03 21:13:23 -07:00
Jason Volk
d598bde717
ircd::info: Get the glibc linked ABI version.
2019-06-01 22:22:44 -07:00
Jason Volk
6b956d12b9
configure: Check for ImageMagick++ support.
2019-05-28 19:54:00 -07:00
Jason Volk
08fafd44b1
ircd::mods: Add platform-dependent ldso interface.
2019-05-28 15:39:57 -07:00
Jason Volk
b8744b2a8b
configure: Use -Wno-endif-labels rather than -Wno-extra-tokens.
2019-05-28 14:51:17 -07:00
Jason Volk
008325d6e8
configure: Disable -Wextra-tokens.
2019-05-28 03:46:18 -07:00
Jason Volk
e99e2dad33
configure: Check for link.h.
2019-05-27 18:36:12 -07:00
Jason Volk
0c01304a94
configure: Move debug switches to separate condition.
2019-05-16 22:36:19 -07:00
Jason Volk
561e9877dd
configure: Align functions in non-optimized builds.
2019-05-15 21:12:59 -07:00
Jason Volk
adc5e7fb6c
configure: Remove gdwarf-4 for default; use glevel=3.
2019-05-15 21:12:59 -07:00
Jason Volk
ca0cf98f37
configure: Use -fnothrow-opt.
2019-05-15 21:12:59 -07:00
Jason Volk
f121188ded
configure: Make this define less useless.
2019-05-14 14:46:47 -07:00
Jason Volk
c114191251
configure: Check for fcntl.h.
2019-05-03 06:08:15 -07:00
Jason Volk
55fc2c6f76
ircd::prof: Add callgrind hypercall suite.
2019-04-19 05:53:54 -07:00
Jason Volk
e861743203
configure: Start an instrumentation header check section; add valgrind/memcheck.h.
2019-04-17 00:50:03 -07:00
Jason Volk
dc0fbe9e54
configure: Add --enable-untuned for more generic binaries.
2019-04-12 12:01:13 -07:00
Jason Volk
3d6dd0733f
configure: Sample nproc
for -flto thread count.
2019-04-09 16:06:17 -07:00
Jason Volk
9d8fe82126
ircd::prof: Add x-platform cputime reporting alternative interface.
2019-04-05 18:12:23 -07:00
Jason Volk
16ff51fbaa
configure: Check for sys/mman.h header.
2019-04-03 15:51:42 -07:00
Jason Volk
b42876c835
configure: Check for sys/ioctl.h
2019-04-03 15:51:42 -07:00
Jason Volk
9b54f4e4a2
configure: Check for linux/perf_event.h et al.
2019-03-31 17:04:02 -07:00
Jason Volk
9e61cf7bc0
ircd::info: Query cpuid features on init.
2019-03-31 17:04:02 -07:00
Jason Volk
9c624c7738
configure: Check for ifaddrs.h header.
2019-03-25 12:55:13 -07:00
Jason Volk
f098848386
configure: Fix HAVE_IPV6 enableval / conditional.
2019-03-24 16:35:45 -07:00
Jason Volk
712409218e
ircd::ctx: Manipulate uncaught exception count on context switch.
2019-03-22 21:06:28 -07:00
Jason Volk
3480819ab5
configure: Add conditional for --enable-lowmem-compile.
2019-03-22 17:46:21 -07:00
Jason Volk
4ae283b9c6
configure: Add more type and size checks.
2019-03-21 16:46:04 -07:00
Jason Volk
90da2cb24a
configure: Add --always to git-describe invocations to fix empty version string.
2019-03-17 15:42:07 -07:00
Jason Volk
ede2439a55
ircd: Add support for configurable soft-assertions.
2019-03-15 16:19:05 -07:00
Jason Volk
87144cef77
ircd::fs: Support various RWF flags for operations; also preadv2().
2019-03-14 12:45:00 -07:00
Jason Volk
02435c3672
ircd::fs: Support pwritev2(2).
2019-03-13 19:38:50 -07:00
Jason Volk
71560eafd1
ircd::openssl: Include TLS1 header; start an SNI suite; minor reorg.
2019-03-13 13:11:53 -07:00
Jason Volk
c39d33ae36
configure: Enable gdwarf-4; add -fvar-tracking-assignments in non-optimized mode.
2019-03-10 19:28:53 -07:00
Jason Volk
cd5903960d
configure: Add and include std <filesystem> header.
2019-03-02 11:40:12 -08:00
Jason Volk
a600a28095
configure: Check for <memory_resource> availability.
2019-02-28 10:24:43 -08:00
Jason Volk
3f85eb761a
ircd::openssl: Include the openssl/asn1.h header.
2019-02-26 18:56:29 -08:00
Jason Volk
cb20e86223
configure: Update the SD-6 check; remove old GCC5/6 workarounds.
2019-02-25 18:00:39 -08:00
Jason Volk
066a4b4a2c
tools/m4: Add boost-context and boost-coroutine macros.
2019-02-19 13:25:32 -08:00
Jason Volk
fc0d91cf04
configure: Add various missing --with options for third-party deps.
2019-02-19 13:25:32 -08:00
Jason Volk
4827405a6b
configure: Add proper --with suite for SSL related.
2019-02-19 13:25:32 -08:00
Jason Volk
d33b3911b1
configure: Check for openssl-1.0/ directory before openssl/.
2019-02-18 16:09:32 -08:00
Jason Volk
2935d35f7d
configure: Invocations of RB_CHK_SYSHEADER are no-op after first success.
2019-02-18 16:09:32 -08:00
Jason Volk
e8f8008ea9
ircd::openssl: Use variable includes; add openssl/hmac.h header check.
2019-02-18 15:27:50 -08:00
Jason Volk
1a2bfc1535
configure: Verify better symbol in libcrypto.so.
2019-02-18 13:42:38 -08:00
Jason Volk
0c39f5d219
configure: Treat -Wreturn-type as an error.
2019-02-16 12:33:30 -08:00
Jason Volk
eb1e510720
ircd::fs: Include <sys/sysmacros.h> if available.
2019-02-15 18:48:59 -08:00
Jason Volk
4f721f48e5
Eliminate friend-injection.
2019-02-15 18:48:59 -08:00
Jason Volk
e71157b3aa
configure: Simplify output string related for some conditions.
2019-01-22 13:24:35 -08:00
Jason Volk
74612e9474
configure: Add --enable-lto for explicit toggle of -flto.
2019-01-22 13:21:11 -08:00
Jason Volk
706563195e
configure: Remove redundant -march flag.
2019-01-22 12:23:13 -08:00
Danilo Spinella
b791511a10
Respect user defined value of datadir
2019-01-20 18:06:57 +01:00
Jason Volk
0dd6abf9ca
ircd: Options package in preparation for lto.
2019-01-18 14:54:04 -08:00
Jason Volk
790c05b3fd
configure: Check for sys/auxv.h.
2019-01-17 11:21:57 -08:00
Jason Volk
f382e2641d
configure: Check for sys/inotify.h for linux platforms.
2019-01-05 17:54:03 -08:00
Jason Volk
d3bdae9703
configure: Check for statfs and linux magic headers.
2019-01-01 16:29:11 -08:00
Jason Volk
f5bc9721d8
configure: Tweak debug/optimization cxxflags related.
2018-12-30 14:56:56 -08:00
Jason Volk
df259c237f
configure: Build boost in release mode for our debug builds.
2018-12-28 15:47:49 -08:00
Jason Volk
9bdb7410d2
configure: Move boost deprecation warning suppression to asio.h.
2018-12-28 14:35:10 -08:00
Jason Volk
ddbd25c653
configure: Emut additional GNU specific debugging sections.
2018-12-23 16:10:17 -08:00
Jason Volk
51ccd61edb
configure: Allow a cxxflags to booststrap; use std=gnu++17 in b2 cxxflags.
2018-12-21 17:57:10 -08:00
Jason Volk
7350cc6864
configure: Emit a quoted character for RB_OPTIMIZE_LEVEL for -Og.
2018-12-21 17:57:10 -08:00
Jason Volk
f5b431005d
deps: Upgrade RocksDB.
2018-12-10 11:29:38 -08:00
Jason Volk
7de495c1c7
configure: Support checking for jemalloc.
2018-11-29 13:46:45 -08:00
Jason Volk
d35dad46c2
configure: Add EXTRA_LIBS rather than modifying LIBS here.
2018-11-29 13:46:45 -08:00
Jason Volk
19ef3cfb67
ircd::fpe: Condition experimental asynchronous exception use.
2018-11-12 18:55:00 -08:00
Jason Volk
451dbe5def
configure: Fix HAVE_IPV6 being defined to 0 from non-supporting configurations.
2018-11-12 18:47:27 -08:00
Jason Volk
24b41daf30
configure: Add -frecord-gcc-switches for instrumentation.
2018-11-12 18:25:45 -08:00
Jason Volk
47732a0075
ircd::fpe: Add experimental exception-throwing SIGFPE w/ -fnon-call-exceptions.
2018-11-11 20:00:11 -08:00
Jason Volk
6967ad1faa
ircd::fpe: Add floating point environment suite; error scoping device.
2018-11-11 18:28:28 -08:00
Jason Volk
868bfc83fa
configure: Undef IRCD_USE_AIO when AIO is disabled.
2018-11-03 06:20:27 -07:00
Jason Volk
49bad9f01d
ircd::db: Check for posix_fadvise(); implement InvalidateCache for environment if not direct IO.
2018-11-02 01:30:15 -07:00
Jason Volk
4c95b39ce5
configure: Add missing sys/stat.h sys/statvfs.h header checks.
2018-10-18 09:28:01 -07:00
Jason Volk
a24270d2bb
deps: RocksDB to v5.15.10.
2018-10-15 22:31:29 -07:00
Jason Volk
7bb8e9d5b6
configure: Add missing -g flag.
2018-09-18 19:13:14 -07:00
Jason Volk
a9082eb03a
Move m4 to tools/m4.
2018-09-17 18:52:26 -07:00