aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
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'.
2019-11-07Precompile headersEelco Dolstra
This cuts 'make install -j6' on my laptop from 170s to 134s.
2019-11-06Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-11-06Make --enable-gc the defaultEelco Dolstra
2019-11-01Pass --static flag to pkg-config when necessaryMatthew Bauer
2019-10-21Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2019-10-01Use more robust test for libatomicsMatthew Bauer
Taken from Mesa configure script: https://github.com/mesa3d/mesa/blob/17.2/configure.ac#L405-L427
2019-10-01Add libatomic for 32-bit ARMMatthew Bauer
Fixes #3113
2019-07-06Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra