0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00
Commit graph

526 commits

Author SHA1 Message Date
Jason Volk
77046c853e configure: Add xxd; add bc.cc to .gitignore; remove empty gitignore. 2022-06-17 21:11:53 -07:00
Jason Volk
90d4d8248c configure: Add -ljemalloc to LIBS; fix byzantine allocator linkages. 2022-06-17 21:11:53 -07:00
Jason Volk
1165d3e60c configure: Add conditionals for clang-14; workaround valgrind interp. 2022-06-17 21:11:53 -07:00
Jason Volk
18df9bd2da configure: Fix --disable-jemalloc option negation. 2022-06-17 21:11:53 -07:00
Jason Volk
8e268023d1 ircd: Add cfloat to standard include. 2022-06-17 21:11:53 -07:00
Jason Volk
6843d7a98d ircd::fs: Support more exotic alignments for memory mapped files. 2022-06-17 21:11:53 -07:00
Jason Volk
e9fe4f33bb configure: Check for mprotect(2). 2022-06-17 21:11:53 -07:00
Jason Volk
73cd22c7d0 ircd::allocator: Add msync(2) wrapping. 2022-06-17 21:11:53 -07:00
Jason Volk
a2bda4f0dc configure: Specifics for clang-13. 2022-06-17 21:11:53 -07:00
Jason Volk
64b52a8fc7 configure: Use $CXX_EPOCH; fixes for libllvm related. 2022-06-17 21:11:53 -07:00
Jason Volk
90c18287da configure: Tweak some outputs; minor cleanup. 2022-06-17 21:11:53 -07:00
Jason Volk
c0f2ff9067 configure: Reorg compiler feature flag sections. 2022-06-17 21:11:52 -07:00
Jason Volk
31431d32c5 ircd: Add utility to beep the pcspeaker. 2021-10-06 16:36:52 -07:00
Jason Volk
af0d1e6d10 configure: Fix LLVM_PROFDATA target version assignment. #185 #187 2021-09-15 01:44:36 -07:00
uis246
62b634d941
Fix autoconfig help 2021-04-09 16:16:28 +03:00
Jason Volk
c0072f732c configure: Add function check for mlock(2), mmap(2). 2021-03-17 18:55:56 -07:00
Jason Volk
ce9f059e51 configure: Add support for Arm NN. 2021-03-16 12:58:22 -07:00
Jason Volk
b1d6defd5a configure: Enable matrix type support for clang-11+. 2021-02-27 13:00:36 -08:00
Jason Volk
3a5bcbb0dd configure: Additional half-precision type checks. 2021-02-26 14:53:00 -08:00
Jason Volk
daee7001fb configure: Fix IRCD_USE_MAGICK defined to 0. 2021-02-11 11:31:21 -08:00
Jason Volk
b26bb2ec6c configure: Fix various --disable actions for proper inverse --enable behavior. 2021-01-15 19:55:28 -08:00
Jason Volk
1d46cf9f5f ircd:🆑 Enable configure by default; disable runtime by default. 2021-01-15 19:55:28 -08:00
Jason Volk
78133c59cd configure: Add libpng detections and configurations. 2021-01-15 18:01:53 -08:00
Jason Volk
173ba9ddf6 configure: Fix missing argument separator. 2021-01-15 17:21:41 -08:00
Jason Volk
770611ebae configure: Init to integer version. 2020-12-15 15:33:57 -08:00
Jason Volk
770fabcacd ircd: Add target to preprocess PGO data bundled in text form.
matrix: Add target to preprocess PGO data bundled in text form.
2020-11-28 14:35:45 -08:00
Jason Volk
716f26216d configure: Consolidate applications of -fmax-errors/-ferror-limit. 2020-11-28 12:42:32 -08:00
Jason Volk
04ac7fa627 configure: -Wno-ignored-attributes in release mode for GCC. 2020-11-27 20:15:24 -08:00
Jason Volk
554a14a4b3 configure: Disable psabi warnings for machine tuned builds. 2020-11-27 20:15:24 -08:00
Jason Volk
910dafbb85 configure: Improve profile build related. 2020-11-27 17:29:54 -08:00
Jason Volk
2377a429ce configure: Check for ARM feature headers. 2020-10-29 03:00:48 -07:00
Jason Volk
ea5ebb4a12 ircd::exec: Set PDEATHSIG in the child for crash action. 2020-10-27 07:55:31 -07:00
Jason Volk
9c1913347e configure: Move unit-specific flag composition dependency sections. 2020-10-11 11:46:24 -07:00
Jason Volk
af82529e13 configure: Support OpenCL.
configure: Support MesaOpenCL.
2020-10-07 20:46:02 -07:00
Jason Volk
8a6a5be150 configure: Move RocksDB related section below others. 2020-10-07 15:42:18 -07:00
Jason Volk
aed6b9d546 configure: Disable LTO on aarch64. 2020-10-01 21:04:29 -07:00
Jason Volk
55da546de0 configure: Fix CXXFLAG for clang on aarch64. (#132) 2020-10-01 19:51:23 -07:00
Jason Volk
a9ef8744b3 configure: Reserve fpunit option for specific compilation units only; move no-sse4a option. 2020-10-01 16:27:34 -07:00
Jason Volk
25cd479a7c configure: Fix conditions for compiling libicu dependent units. (fixes #165) 2020-09-23 17:40:53 -07:00
Jason Volk
fb2693c0ff configure: Cleanup/reorg output. 2020-09-21 20:50:57 -07:00
Jason Volk
5ac0457d55 configure: Support libzstd related in build. 2020-09-21 16:22:23 -07:00
Jason Volk
46fbfb4866 configure: Add suite of conditionals for compiler major version. 2020-09-15 04:33:28 -07:00
Jason Volk
38a6a1049d configure: Additional type section related; cleanup/reorg. 2020-09-12 22:31:06 -07:00
Jason Volk
7eaf60c308 ircd::fs: Add interface to madvise on mapped file. 2020-09-07 17:01:45 -07:00
Jason Volk
feb2d41571 configure: Add configure-time libmagick indication. 2020-09-05 15:55:24 -07:00
Jason Volk
539407fc4f configure: Fix warning unknown to GCC. 2020-08-10 03:41:06 -07:00
Jason Volk
a4e21ae111 ircd: Check and include standard execution policies header. 2020-07-31 22:12:14 -07:00
Jason Volk
406020572d configure: Add explicit option to enable llvm module building related. 2020-07-31 21:45:39 -07:00
Jason Volk
2f6f2af06f Reserve EXTRA_* flag sets for user.
configure: Move unit configuration section above application settings.

configure: -fasm-blocks not yet useful without GCC parity.
2020-07-30 06:38:51 -07:00
Jason Volk
2317ff4ec0 configure: -fasm-blocks not yet useful without GCC parity. 2020-07-30 06:22:37 -07:00
Jason Volk
ea6cbc9e5c configure: Fix -Wmissing-noreturn under DEBUG condition. 2020-07-25 08:28:42 -07:00
Jason Volk
1a756f637f ircd::spirit: Isolate aggressive inlining; remove unit-level setting. 2020-07-24 23:47:08 -07:00
Jason Volk
3f7d628a68 configure: Increase inlining threshold for spirit grammar units.
configure: Move -fno-var-tracking to GCC only.
2020-07-20 02:42:00 -07:00
Jason Volk
7928ad4f9b configure: Move machine tuning flags application section.
configure: Add AC_CANONICAL_HOST detection.

configure: Tune with mfpmath=sse for x86_64.
2020-07-12 15:21:00 -07:00
Jason Volk
dcc1b37d25 configure: Disable use of SSE4a instructions. 2020-07-10 23:58:07 -07:00
Jason Volk
31bd80a6d1 Consolidate application of -flax-vector-conversions. 2020-07-10 20:12:33 -07:00
Jason Volk
ea4ae41720 configure: Check for libstdc++. 2020-07-10 19:47:23 -07:00
Jason Volk
64f5028e0d configure: Use macro argument quoting. 2020-07-10 19:26:45 -07:00
Jason Volk
dd8a4b812f configure: Add vector operation performance warnings for GCC. 2020-07-09 19:45:42 -07:00
Jason Volk
23c104a68a configure: Remove unnecessary; propagate environment. 2020-07-08 16:53:57 -07:00
Jason Volk
fc35c32543 configure: Use prepend to compose all flags. 2020-07-08 16:40:10 -07:00
Jason Volk
d31edde88b ircd: Cleanup/reorg of stdinc contents; remove experimental. 2020-06-27 14:24:34 -07:00
Jason Volk
4aae2c4963 ircd: Add <cuchar> to standard include group. 2020-06-25 17:19:01 -07:00
Jason Volk
5e0745c3e9 configure: Add explicit mtune even w/ march. 2020-06-20 22:05:44 -07:00
Jason Volk
cf605bc195 configure: Type checks for C++11 multibyte character. 2020-06-19 03:04:55 -07:00
Jason Volk
daa49dde51 ircd: Add icu support if available. 2020-06-19 03:04:55 -07:00
Jason Volk
0d55f02e9c configure: Preliminary section for libicu w/ unicode header jacket. 2020-06-19 01:09:45 -07:00
Jason Volk
2ad836ce6d configure: Use asynchronous-unwind-tables; minor reorg. 2020-06-18 02:49:50 -07:00
Jason Volk
728da15ad3 configure: Add function checks for mlock2(2); remove standard cruft. 2020-05-29 23:40:24 -07:00
Jason Volk
312493fa8e configure: Enable asm-blocks for clang. 2020-05-29 23:40:24 -07:00
Jason Volk
8a9954f181 configure: PKG_CHECK_MODULES for pbc.
configure: PKG_CHECK_MODULES for libgmp.

configure: PKG_CHECK_MODULES for lz4.

configure: PKG_CHECK_MODULES for snappy.

configure: PKG_CHECK_MODULES for magic.

configure: PKG_CHECK_MODULES for crypto.

configure: PKG_CHECK_MODULES for ssl.
2020-05-10 03:52:16 -07:00
Jason Volk
e928c7582e configure: Fix case consistency for several PKG_CHECK_MODULE. 2020-05-09 19:17:02 -07:00
Jason Volk
7dc740e387 configure: Minor string punctuation consistency.
construct: Minor string punctuation.
2020-05-09 17:43:57 -07:00
Jason Volk
d9afb64f40 configure: Use PKG_CHECK_MODULES for without included rocksdb. 2020-05-09 17:28:34 -07:00
Jason Volk
56eaf631d3 configure: Use RB_HELP_STRING to control format widths of --help. 2020-05-09 17:28:34 -07:00
Jason Volk
1e6de11d4e configure: Fix PKG_CHECK_MODULES caps; checks for libsodium. 2020-05-09 17:28:34 -07:00
Jason Volk
d56c538db7 configure: Add recommended quoting; remove unnecessary quote of AC_HELP_STRING. 2020-05-08 14:45:08 -07:00
Jason Volk
dc713f711a configure: Use PKG_CHECK_MODULES; fix jemalloc related.
construct: Add missing MALLOC_LDFLAGS.
2020-05-08 14:20:19 -07:00
Jason Volk
b7e78eeb18 configure: Fix defaulting $withval for --with-included-rocksdb 6c2e78128f. 2020-05-07 13:25:46 -07:00
Jason Volk
6c2e78128f configure: Allow --with-included-rocksdb=version $withval for deps/rocksdb checkout. 2020-05-07 00:28:27 -07:00
Jason Volk
676f9ad532 configure: Eliminate condition for shared or static rocksdb. 2020-05-07 00:28:27 -07:00
Jason Volk
9f2bdd3ca2 Upgrade to RocksDB 6.6.4.
ircd::db::database::cache: Remove deprecated interface override.

ircd::db::database::cache: Add new GetCharge() abstract virtual override.

ircd::db: Use set_stats_level() for privated member.
2020-05-05 19:58:37 -07:00
Jason Volk
8c0a6f0ba8 configure: Use action-if-enabled so -lrocksdb is not prepended everywhere. 2020-04-30 03:22:15 -07:00
Jason Volk
a87818fb89 configure: Upgrade to RocksDB 5.17.2. 2020-04-29 03:37:35 -07:00
Jason Volk
34dfa7016c configure: Default to better include path for libllvm. 2020-04-22 10:46:23 -07:00
Jason Volk
7601031267 configure: Use PKG_CHECK_MODULES first for libllvm. 2020-04-22 10:13:26 -07:00
Jason Volk
6ec5b464da configure: Fix typo. 2020-04-21 00:18:38 -07:00
Jason Volk
ca6a1d127f configure: Add --with-magic-file=path; use as default. 2020-04-19 21:33:57 -07:00
Jason Volk
ba3258a8d6 configure: Improve branding_name/version related. 2020-04-19 20:20:43 -07:00
Jason Volk
646911dc80 configure: Use --broken option on git describe invocations. 2020-04-19 20:20:42 -07:00
Jason Volk
e7f2a5c1f6 cofngiure: Reorg installation path section; add more output. 2020-04-18 23:20:25 -07:00
Jason Volk
5ea8ac362c Enable link-time optimization for central libraries with clang. 2020-04-18 01:26:31 -07:00
Jason Volk
cc8f36ea7f configure: Suppress unknown pragma warnings in non-debug mode. 2020-04-18 00:17:38 -07:00
Jason Volk
df29c95dad configure: Add some better clang-specific options for --enable-profile; output. 2020-04-16 20:39:20 -07:00
Jason Volk
4e15ce48ee configure: Suppress -Wmissing-noreturn in debugmode due to various assert behaviours. 2020-04-14 00:16:34 -07:00
Jason Volk
0196ec46f9 configure: Ensure a $assert_type is always set or defaulted. 2020-04-13 23:58:33 -07:00
Jason Volk
21d9f4792b configure: Disable all __assert_fail() overrides unless explicit --with-assert option. 2020-04-11 15:11:43 -07:00
Jason Volk
d7d8741a8e configure: Default to not requiring --enable-jemalloc if detected and not otherwise disabled. 2020-04-05 14:32:21 -07:00
Jason Volk
59ee170817 ircd::info: Add sysinfo; gather ram and swap totals on init. 2020-03-16 16:56:07 -07:00
Jason Volk
52fc42c239 configure: Unconditional gold; fix libtool+clang+ld.gold with -Wc argument. 2020-03-10 22:14:40 -07:00