Commit Graph

60 Commits

Author SHA1 Message Date
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
R. Ryantm
f46e7c4e2e python311Packages.gmsh: 4.12.2 -> 4.13.1 2024-06-02 01:08:11 +02:00
Weijia Wang
2b075b0a2b gmsh: 4.11.1 -> 4.12.2 2024-03-23 22:08:06 +01:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Sergei Trofimovich
775c761fd8 gmsh: pull gcc-13 build fix from upstream
Without the change `gmsh` build fails in `staging-next` as:

    /build/gmsh-4.11.1-source/src/mesh/meshGFacePack.cpp:209:7: error: 'uint32_t' was not declared in this scope
      209 |   for(uint32_t j = 0; j < 6; j++) {
          |       ^~~~~~~~
    /build/gmsh-4.11.1-source/src/mesh/meshGFacePack.cpp:16:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
       15 | #include "robustPredicates.h"
      +++ |+#include <cstdint>
2024-01-01 20:30:30 +00:00
Ben Gamari
34dd176116 gmsh: enable python bindings 2023-01-09 19:01:02 -05:00
Ben Gamari
4ed69ca095 gmsh: enable parallel building 2023-01-06 15:21:44 -05:00
Ben Gamari
0af966f368 gmsh: Enable OpenMP support
As this is parallelism that essentially comes for free.
2023-01-04 11:24:04 -05:00
Ben Gamari
24de35c698 gmsh: 4.11 -> 4.11.1 2022-12-31 11:37:53 -05:00
Ben Gamari
b2557f7653 gmsh: Enable shared library
This allows use of the Python and other bindings.
2022-12-31 11:37:53 -05:00
R. Ryantm
a8ed4be9a6 gmsh: 4.10.5 -> 4.11.0 2022-11-07 11:31:21 +00:00
R. Ryantm
76e20e84b6 gmsh: 4.10.4 -> 4.10.5 2022-07-11 10:54:53 +00:00
R. Ryantm
6b4e69e7e4 gmsh: 4.10.2 -> 4.10.4 2022-06-26 00:27:54 +00:00
R. Ryantm
6f241e6555 gmsh: 4.9.5 -> 4.10.2 2022-05-26 05:47:28 +00:00
R. Ryantm
21a1125f37 gmsh: 4.9.4 -> 4.9.5 2022-02-25 14:21:11 -08:00
Robert Scott
83ea8999d4 gmsh: enable tests 2022-02-12 16:15:57 +00:00
Robert Scott
61dc066799 gmsh: enable for darwin 2022-02-12 16:13:53 +00:00
R. Ryantm
772c6b674c gmsh: 4.9.2 -> 4.9.4 2022-02-11 18:31:28 +00:00
R. RyanTM
c5e9e73029
gmsh: 4.9.0 -> 4.9.2
* gmsh: 4.9.0 -> 4.9.2 (#152872)

* gmsh: use https

Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
2022-01-08 01:18:15 +01:00
R. Ryantm
2d939d3262 gmsh: 4.8.4 -> 4.9.0 2021-12-11 01:08:58 +00:00
R. RyanTM
59cd52dc40 gmsh: 4.8.3 -> 4.8.4 2021-05-05 01:26:49 -04:00
R. RyanTM
5122077801 gmsh: 4.8.1 -> 4.8.3 2021-04-29 00:17:51 -04:00
R. RyanTM
44a83a3cb6 gmsh: 4.8.0 -> 4.8.1 2021-04-19 22:37:39 -04:00
R. RyanTM
435eaafaf1 gmsh: 4.7.1 -> 4.8.0 2021-03-08 11:54:52 +00:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
R. RyanTM
cf89444f1e gmsh: 4.7.0 -> 4.7.1 2020-12-02 05:50:47 +00:00
R. RyanTM
a36f37b778 gmsh: 4.6.0 -> 4.7.0 2020-11-13 14:19:59 +00:00
R. RyanTM
97c089f2f7 gmsh: 4.5.6 -> 4.6.0 2020-07-03 11:56:48 +00:00
Matthew Bauer
ff2f2644f8 blas,lapack: use isILP64 instead of is64bit
This is a better name since we have multiple 64-bit things that could
be referred to.

LP64  : integer=32, long=64, pointer=64
ILP64 : integer=64, long=64, pointer=64
2020-04-20 16:02:43 -05:00
Matthew Bauer
1c8aba8334 treewide: use blas and lapack
This makes packages use lapack and blas, which can wrap different
BLAS/LAPACK implementations.

treewide: cleanup from blas/lapack changes

A few issues in the original treewide:

- can’t assume blas64 is a bool
- unused commented code
2020-04-17 16:24:09 -05:00
R. RyanTM
b43965986f gmsh: 4.5.4 -> 4.5.6 2020-04-05 19:28:16 +00:00
R. RyanTM
9974067129 gmsh: 4.5.2 -> 4.5.4 2020-03-05 00:20:08 +00:00
R. RyanTM
7c58b6437b gmsh: 4.5.1 -> 4.5.2 2020-02-08 07:25:27 +00:00
R. RyanTM
66156e04d5 gmsh: 4.4.1 -> 4.5.1 2020-01-06 06:33:28 -08:00
adisbladis
c9d8624ccd
treewide: Get rid of libGLU_combined 2019-11-18 20:10:43 +00:00
Gabriel Ebner
0a1e131077 gmsh: opencascade support 2019-08-14 19:09:40 +02:00
R. RyanTM
5f3787932f gmsh: 4.4.0 -> 4.4.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gmsh/versions
2019-08-04 04:16:21 -07:00
Angus Gibson
8c26b71dc8 gmsh: 4.3.0 -> 4.4.0 2019-07-04 19:21:54 +10:00
R. RyanTM
5bbc9be100 gmsh: 4.2.3 -> 4.3.0 (#62420)
* gmsh: 4.2.3 -> 4.3.0

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gmsh/versions

* gmsh: move cmake to nativeBuildInputs
2019-06-07 18:01:57 +02:00
R. RyanTM
00d17e36ea gmsh: 4.2.2 -> 4.2.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gmsh/versions
2019-04-14 13:15:32 -07:00
luz.paz
13158c692c gmsh 4.2.1->4.2.2 2019-03-23 12:51:12 -04:00
luz.paz
77cb537712 gmsh: 4.1.5 -> 4.2.1 2019-03-08 05:24:15 -05:00
luz.paz
add7b20858 gmsh: 4.1.3 -> 4.1.5 2019-02-21 22:55:48 -05:00
R. RyanTM
2b03ef0521 gmsh: 4.1.0 -> 4.1.3
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gmsh/versions
2019-01-28 10:33:36 -08:00
R. RyanTM
55ea7b1bbe gmsh: 4.0.7 -> 4.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gmsh/versions
2019-01-17 12:55:54 -08:00
luz.paz
ab9532b1fe gmsh: 4.0.5 -> 4.0.7 2018-12-14 08:01:20 -05:00
luzpaz
0ec2af3736
gmsh: 4.0.4 -> 4.0.5
Manually updated
2018-11-19 11:12:38 -05:00
Markus Kowalewski
644ab709e7
gmsh: restrict platform to x86_64-linux 2018-11-14 12:33:37 +01:00
Markus Kowalewski
ced40eabfd
gmsh: use openblas instead of atlas/lapack
* openblas is properly recognized by cmake
* the cmake patch is no longer neccessary
2018-11-14 11:41:46 +01:00