Commit Graph

38 Commits

Author SHA1 Message Date
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Sandro Jäckel
dcbb3c0b48
jemalloc: move comment to right place, update website 2022-12-05 15:05:58 +01:00
Dmitry Ivankov
e3a7c410a7 jemalloc: fix aarch64-darwin build
Switch to default clang11 and apply a patch to fix tests.

The issue is compiler optimizations for unused `malloc` calls
being applied to jemalloc tests with empty `--with-jemalloc-prefix=`.
Tests want to test bad arguments to malloc and optimization broke
such assertions in some of tests, so patch is applied to disable
builtin functions optimizations (only for tests code).

Fixes https://github.com/NixOS/nixpkgs/issues/152056

Patch submission upstream
https://github.com/jemalloc/jemalloc/pull/2340
2022-11-14 10:52:37 +01:00
Winter
f97ed85bae jemalloc: fix building emulated x86_64-darwin on aarch64-darwin 2022-09-29 22:45:18 -04:00
Pierre Bourdon
e924a39abd
jemalloc: support page size up to 64KB on AArch64
The default build configuration only supports page sizes up to 4KB.
AArch64 systems (among other architectures) can be configured with
larger page sizes. nixpkgs's jemalloc currently crashes in these
situations.
2022-08-22 07:03:53 +02:00
Martin Weinelt
e9218500ba
jemalloc: 5.2.1 -> 5.3.0
https://github.com/jemalloc/jemalloc/releases/tag/5.3.0
2022-06-11 23:03:37 +02:00
Pavol Rusnak
abc618ad1a
jemalloc450: drop package
The package was introduced in https://github.com/NixOS/nixpkgs/pull/38995
to fix rocksdb, but rocksdb is not using jemalloc450 anymore.
2021-12-30 14:51:58 +01:00
Dmitry Kalinkin
6bda212f69
jemalloc: fix darwin build 2021-12-13 07:27:59 -05:00
Ben Siraphob
66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
zowoq
31f5dd3f36 treewide: editorconfig fixes
- remove trailing whitespace
- use spaces for indentation
2021-01-20 09:11:11 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Orivej Desh
ee2ccdaf26 jemalloc: 5.1.0 -> 5.2.1 2020-03-14 04:56:32 +00:00
Ben Wolsieffer
adf5ca2ce0 jemalloc450: disable transparent huge pages on ARM 2019-09-08 22:57:32 -04:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Jörg Thalheim
b5c1deca8a
treewide: remove wkennington as maintainer
He prefers to contribute to his own nixpkgs fork triton.
Since he is still marked as maintainer in many packages
this leaves the wrong impression he still maintains those.
2019-01-26 10:05:32 +00:00
Vladimír Čunát
666870d813
jemalloc nitpick: better semantics for stripPrefix 2019-01-23 21:01:59 +01:00
Izorkin
2489b4a8bf jemalloc: add option disable-initial-exec-tls 2018-12-02 13:37:14 +03:00
Symphorien Gibol
973eca740b rustc: fix build with unbundled jemalloc and llvm on darwin
jemalloc with stripped prefix would cause segfaults in free:
https://github.com/NixOS/nixpkgs/pull/49557#issuecomment-436734677

Thanks to @danieldk for darwin testing/debugging.
2018-11-08 13:10:24 +01:00
Ignat Loskutov
1c7d246d81 drop the obsolete '--disable-thp' option 2018-10-31 01:44:55 +03:00
Ignat Loskutov
e7f2ce9102 jemalloc: 5.0.1 -> 5.1.0 2018-10-29 02:59:11 +03:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Yorick van Pelt
c03f5f5579
jemalloc: don't try to patch 4.5.0 2018-04-16 16:18:33 +02:00
Yorick van Pelt
d536542ee4
jemalloc: add 4.5.0 version 2018-04-16 12:31:26 +02:00
Robin Gloster
b94c892137
jemalloc: add patch to fix aarch64 build 2018-01-06 17:25:15 +01:00
Jörg Thalheim
02e95ea0b5 jemalloc: do not expose hugepage support as an option
The only common use case so far seems ARMv6/ARMv7 support.
The way this option is exposed might collide with a package with the
same name. Also the option naming on its own is not self-descriptive
without context.
2018-01-02 15:25:06 +01:00
Ben Wolsieffer
98dd418e85 jemalloc: 4.5.0 -> 5.0.1 2018-01-01 11:12:56 -05:00
Ben Wolsieffer
275fa4162c jemalloc: disable transparent huge pages by default on ARMv6/7
The default NixOS kernels for ARMv7 (and probably ARMv6) do not have support
for transparent huge pages, but jemalloc is unable to detect this. This is a
known bug and the current solution is to pass --disable-thp to ./configure.
2018-01-01 11:12:46 -05:00
Renaud
a4c68ace9c jemalloc: 4.3.1 -> 4.5.0 2017-03-16 23:04:04 +01:00
Kirill Elagin
fcfe3c0909
jemalloc: 4.1.1 -> 4.3.1
Fixes #18466.
2016-11-12 21:13:11 +01:00
Dan Peebles
1f0df5f21f jemalloc: remove symbol prefix on darwin
The default darwin build added a je_ prefix to all exported symbols, and
that broke downstream consumers that were not expecting the prefix, like
mariadb.
2016-08-14 15:08:23 -04:00
Franz Pletz
7a2accbf5a jemalloc: 4.0.3 -> 4.1.1 2016-05-13 17:04:50 +02:00
Tobias Geerinckx-Rice
464f327aa6 Move some excess description to longDescription 2016-01-12 03:08:10 +01:00
William A. Kennington III
9b9d790c6c jemalloc: 4.0.2 -> 4.0.3 2015-10-16 16:45:26 -07:00
William A. Kennington III
9c345fc97d jemalloc: 4.0.0 -> 4.0.2 2015-09-23 22:31:40 -07:00
William A. Kennington III
5856e44258 jemalloc: Fix jemalloc prefix for applications which expect ^malloc 2015-09-23 20:48:14 -07:00
William A. Kennington III
de2906e670 rustc: Update both versions of the compiler
rustc: 1.2.0 -> 1.3.0
  rustcMaster: 2015-09-05 -> 2015-09-21

This also removes the llvm bundling which reduced immediate the closure size
by ~50MB. It also tries to reduce some of the superfluous dependencies
to help reduce the number of potential rebuilds (namely removing git).
2015-09-23 12:30:00 -07:00
William A. Kennington III
d4fc051c06 jemalloc: 3.6.0 -> 4.0.0 2015-08-30 10:57:16 -07:00
William A. Kennington III
1e873e636a jemalloc: Add derivation 2015-03-11 18:50:03 -07:00