aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2023-04-17Merge pull request #7732 from hercules-ci/make-initLibStore-viable-alternativeJohn Ericson
Make `initLibStore` a viable alternative
2023-04-08add check for librapidcheckPhilipp Otterbein
declare RAPIDCHECK_HEADERS as variable
2023-04-07Require openssl >= 1.1.1Robert Hensing
Versions older this are sufficiently old that we don't want to support them, and they require extra support code.
2023-03-10Generate API docs with DoxygenJohn Ericson
The motivation is as stated in issue #7814: even though the the C++ API is internal and unstable, people still want it to be well documented for sake of learning, code review, and other purposes that aren't predicated on it being stable. Fixes #7814 Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2023-02-24Add ./configure --disable-tests optionRobert Hensing
Building without tests is useful for bootstrapping with a smaller footprint or running the tests in a separate derivation. Otherwise, we do compile and run them. This isn't fine grained as to allow picking `check` but not `installcheck` or vice versa, but it's good enough for now. I've tried to use Nixpkgs' `checkInputs`, but those inputs weren't discovered properly by the configure script. We can emulate its behavior very well though.
2023-01-30Fix configure.ac rapidcheck testsJohn Ericson
- `AC_LANG_PUSH(C++)` is needed for the header check - The library check is hopeless (without lots of third-party macros I don't feel like getting) because name mangling Pkg-config would make all this easier. I previously opened https://github.com/emil-e/rapidcheck/issues/302, I should write a PR too.
2023-01-23Add `rapidcheck` dependency for testingJohn Ericson
Property tests are great! Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2022-12-17configure.ac: don't clobber CFLAGS=/CXXFLAGS= and allow users to pass in ↵Sergei Trofimovich
custom flags Reported-by: 0n-s Bug: https://github.com/trofi/nix-guix-gentoo/issues/26
2022-12-07Trivial changes from the lazy-trees branchEelco Dolstra
2022-08-03Don't use -load_all on darwinThéophane Hufschmitt
That flag breaks `-lc++fs` (introducing a duplicate symbol for some reason). Besides, it was apparently needed for bzip2, but we're not using bzip2 anymore.
2022-06-23Embed the sandbox shell into the statically linked 'nix' binaryEelco Dolstra
With this, Nix will write a copy of the sandbox shell to /bin/sh in the sandbox rather than bind-mounting it from the host filesystem. This makes /bin/sh work out of the box with nix-static, i.e. you no longer get /nix/store/qa36xhc5gpf42l3z1a8m1lysi40l9p7s-bootstrap-stage4-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
2022-05-25Merge branch 'master' into ltopennae
2022-05-24configure.ac: don't run sandbox-shell test when cross compilingYorick van Pelt
2022-05-24configure.ac: check for sandbox-shell's FEATURE_SH_STANDALONEYorick van Pelt
See also: https://bugs.archlinux.org/task/73998. Busybox's FEATURE_SH_STANDALONE feature causes other busybox applets to leak into the sandbox, where system() calls will start preferring them over tools in $PATH. On arch, this even includes `ar`. Let's check for this evil feature and disallow using this as a sandbox shell.
2022-03-03enable LTO in optimized buildspennae
gives 2-5% performance improvement across a board of tests. LTO is broken when using clang; some libs link fine while others crash the linker with a segfault in the llvm linker plugin. 🙁
2022-02-01Require lowdown 0.9.0Eelco Dolstra
Fixes #6021.
2022-01-26Stop vendoring nlohmann_jsonEelco Dolstra
2021-11-29Merge pull request #5678 from t184256/document-libsodiumEelco Dolstra
Document libsodium, which is now mandatory, as a dependency.
2021-11-28Make libcpuid dependency optional with --disable-cpuidAlexander Sosedkin
2021-11-27Document libsodium, which is now mandatory, as a dependencyAlexander Sosedkin
2021-09-14configure: explicit dependency on lowdown libraryFederico Pellegrin
This dependency is used from quite a long time (now in libcmd) but was not explicitly stated in the configure phase, possibly leading to quite late build failures if that was not met (ie. building it outside the .nix files provided). This MR adds it in the configure phase so the failure is early and error is much more explicit.
2021-08-13configure.ac: remove another uname checkAlyssa Ross
uname checks are not cross-safe. The normalization for Cygwin doesn't need any equivalent for host_os because nothing actually checked whether sys_name was cygwin any more.
2021-08-10Fix host OS detection for darwin-specific linker flagRyan Burns
2021-06-25Merge remote-tracking branch 'origin/master' into cross-jobsMatthew Bauer
2021-06-04configure.ac: fix use of unread LIBS variablePuck Meerburg
This fixes both the SunOS/Solaris check, and the libatomic check, which reference $LIBS, which has not been used since automake was stripped out of the code.
2021-06-01Run autoupdateEelco Dolstra
2021-04-23unified macro style for ENABLE_S3p01arst0rm
2021-04-15Drop unused tar dependencyEelco Dolstra
2021-04-15Drop libbz2 / zlib / lzma dependency + style fixesEelco Dolstra
2021-03-09Merge branch 'master' into cross-jobsMatthew Bauer
2021-02-22Add x86_64 compute levels as additional system typesDaniël de Kok
When performing distributed builds of machine learning packages, it would be nice if builders without the required SIMD instructions can be excluded as build nodes. Since x86_64 has accumulated a large number of different instruction set extensions, listing all possible extensions would be unwieldy. AMD, Intel, Red Hat, and SUSE have recently defined four different microarchitecture levels that are now part of the x86-64 psABI supplement and will be used in glibc 2.33: https://gitlab.com/x86-psABIs/x86-64-ABI https://lwn.net/Articles/844831/ This change uses libcpuid to detect CPU features and then uses them to add the supported x86_64 levels to the additional system types. For example on a Ryzen 3700X: $ ~/aps/bin/nix -vv --version | grep "Additional system" Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
2021-02-05Re-enable armv6l supportMatthew Bauer
This fixes the libatomic detection.
2021-01-06Make sodium a required dependencyEelco Dolstra
2020-12-25Update URL where bzip2 can be obtainedSevan Janiyan
2020-12-04Fix compatibility with newer AWS SDKsStéphan Kochen
Tested against AWS SDK 1.8.99. Fixes #3201.
2020-10-15Make a better -lz hackJohn Ericson
Per the comments, the underlying issue is https://github.com/libarchive/libarchive/issues/1446, knowing this allows the hack to be much more targetted.
2020-07-23Use mdbookEelco Dolstra
2020-05-28Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-05-08configure: Look for gtestEelco Dolstra
2019-12-20Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-12-19Merge branch 'libarchive' of https://github.com/yorickvP/nixEelco Dolstra
2019-12-16Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-12-13Initial gzip supportTom Bereknyei
Closes #3256
2019-12-09downgrade required libarchive version (ubuntu 16.04)Yorick van Pelt
2019-12-07libarchive proof of conceptYorick van Pelt
2019-12-04Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-12-02Merge branch 'pkg-config-static' of https://github.com/matthewbauer/nixEelco Dolstra
2019-11-26Clean up the configure scriptEelco Dolstra
2019-11-07Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-11-07Revert "autoconf: Allow overriding CFLAGS/CXXFLAGS from outside."Eelco Dolstra
This reverts commit 717e821b99797845e1bef47d862f8cb0fb69cfc9. It's much more convenient to do 'make OPTIMIZE=0'.