spack/etc/spack/defaults
Harmen Stoppels ec500adb50
zlib-api: use zlib-ng +compat by default (#39358)
In the HPC package manager, we want the fastest `zlib`  implementation by default.  `zlib-ng` is up to 4x faster than stock `zlib`, and it can do things like take advantage of AVX-512 instructions.  This PR makes `zlib-ng` the default `zlib-api` provider (`zlib-api` was introduced earlier, in #37372).

As far as I can see, the only issues you can encounter are:

1. Build issues with packages that heavily rely on `zlib` internals. In Gitlab CI only one out of hundreds of packages had that issue (it extended zlib with deflate stuff, and used its own copy of zlib sources).
2. Packages that like to detect `zlib-ng` separately and rely on `zlib-ng` internals. The only issue I've found with this among the hundreds of packages built in CI is `perl` trying to report more specific zlib-ng version details, and relied on some internals that got refactored. But yeah... that warrants a patch / conflict and is nothing special.

At runtime, you cannot really have any issues, given that zlib and zlib-ng export the exact same symbols (and zlib-ng tests this in their CI).

You can't really have issues with externals when using zlib-ng either. The only type of issue is when system zlib is rather new, and not marked as external; if another external uses new symbols, and Spack builds an older zlib/zlib-ng, then the external might not find the new symbols. But this is a configuration issue, and it's not an issue caused by zlib-ng, as the same would happen with older Spack zlib.

* zlib-api: use zlib-ng +compat by default
* make a trivial change to zlib-ng to trigger a rebuild
* add `haampie` as maintainer
2023-08-17 14:03:14 -07:00
..
cray Don't set LD_LIBRARY_PATH by default on Linux (#28354) 2022-08-11 09:33:08 -05:00
darwin macOS: use Apple GL/GLU by default (#36618) 2023-04-27 21:54:48 -05:00
linux Don't set LD_LIBRARY_PATH by default on Linux (#28354) 2022-08-11 09:33:08 -05:00
windows Allow configurable stage names (#36509) 2023-03-31 11:46:47 -07:00
bootstrap.yaml Update metadata for bootstrapping (#33665) 2022-11-03 09:05:03 +00:00
concretizer.yaml Add a new configuration option to select among different concretization modes 2023-08-15 15:54:37 -07:00
config.yaml installer: Improve status reporting (#37903) 2023-07-12 08:54:45 +02:00
mirrors.yaml mirrors: distinguish between source/binary mirror; simplify schema (#34523) 2023-07-13 11:29:17 +00:00
modules.yaml Disable module file generation by default (#37258) 2023-05-02 10:28:27 +02:00
packages.yaml zlib-api: use zlib-ng +compat by default (#39358) 2023-08-17 14:03:14 -07:00
repos.yaml Add "default" configuration scope. 2016-07-19 17:10:17 -07:00