Commit Graph

12 Commits

Author SHA1 Message Date
Reno Dakota
52bf1163fa
treewide: use getLib when accessing clang / libclang / stdenv.cc.cc
In preparation to eliminate the lib output for the unwrapped clang, use
`lib.getLib` to access the `lib` output.
2024-11-07 10:27:41 +00:00
qbisi
0f8d273ca5 mumps: headers remove symlink to subdir
With the upstream patch to casadi (https://github.com/casadi/casadi/pull/3899),
There is no need for nixpkgs#mumps to symlink header files to subdir mumps.
Nix packagers should manualy specify the include directory and link libraries for
the coinmumps required project like nipxkgs#libopt.
2024-10-27 22:49:10 +08:00
Sefa Eyeoglu
80b560bc35
fatrop: 0.0.1 -> 0.0.4, casadi: 3.6.6 -> 3.6.7 (#339110) 2024-10-27 12:49:02 +01:00
Guilhem Saurel
fd65959f5f casadi: 3.6.6 -> 3.6.7
Diff: https://github.com/casadi/casadi/compare/3.6.6...3.6.7
2024-10-01 00:00:12 +02:00
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
Emily
2181ab3e22 treewide: unpin SWIG 4 2024-09-12 18:39:57 +01:00
Guilhem Saurel
697e301788 casadi: build with fatrop
thanks @traversaro !
2024-09-03 12:21:40 +02:00
Doron Behar
098a7874e2 casadi: always set PYTHON_PREFIX, using placeholder "out". 2024-08-13 20:58:02 +03:00
Guilhem Saurel
a3b45b9fe9 casadi: set meta.platforms
To try to see why why nixpkgs-review does not list casadi on aarch64-darwin

We still can see
`165/165 Test #165: example-py-casadi-quadrotor-ocp ............  Passed`
in `nix log .#python3Packages.pinocchio` on aarch64-darwin, so
everything looks fine anyways.
2024-08-13 18:21:00 +02:00
Guilhem Saurel
60f55d1309 casadi: use swig4
Because with swig3, the generated C++ code is not compatible with C++17.
2024-08-12 15:25:43 +02:00
Guilhem Saurel
ded2f9eca4 casadi: build on darwin 2024-08-12 15:25:43 +02:00
Guilhem Saurel
7c9c23c597 casadi: init at 3.6.5 2024-08-08 01:08:11 +02:00