Commit Graph

27 Commits

Author SHA1 Message Date
Randy Eckenrode
22a979fe33
darwin.moltenvk: 1.2.7 -> 1.2.8
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.8
2024-03-23 09:10:43 -04:00
Randy Eckenrode
bf86b51cd2
darwin.moltenvk: clean up derivation
- Drop the patches in favor of patching up the xcodeproj files, which
  should make updates in the future easier (no more patch conflicts);
- Switch to building `MoltenVKPackaging.xcodeproj` instead of building
  the projects individually;
- Link `libMoltenVK.dylib` manually, which is needed for MoltenVK 1.2.8
  due to xcbuild not being able to build the dylib in the xcodeproj;
- Add support for enabling private API usage and default it to `true`.
  This will be a new feature in MoltenVK 1.2.8;
- Use darwin.apple_sdk.libs.simd instead of symlinking from the SDK;
- Filter out rc and beta releases in the update script; and
- Support static builds of MoltenVK.
2024-03-16 21:44:27 -04:00
Weijia Wang
1eb10bd6bd darwin.moltenvk: 1.2.4 -> 1.2.7 2024-01-27 14:46:04 +01:00
Adam Joseph
c7e0f6b905 treewide: s_targetPlatform_hostPlatform_ in non-compiler packages
stdenv.targetPlatform really shouldn't be used by software that
doesn't generate or manipulate binaries.  I reviewed all uses of
targetPlatform outside of pkgs/development/compilers and pkgs/stdenv
and replaced those which weren't involved in something which fits
these criteria.
2023-11-17 08:07:34 +00:00
Randy Eckenrode
2014e8cad0
moltenvk: 1.2.3 -> 1.2.4 (#242096)
* moltenvk: add updateScript

* moltenvk: fix invalid signature on MoltenVKShaderConverter

* moltenvk: 1.2.3 -> 1.2.4

https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.4
2023-07-20 21:06:41 +02:00
PedroHLC ☭
a9196218c9
moltenvk: 1.2.2 -> 1.2.3
Release for Vulkan SDK 1.3.243
2023-04-03 11:51:39 -03:00
Alyssa Ross
52c286ee5b
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/development/libraries/pmdk/default.nix
2023-02-23 13:51:34 +00:00
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
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
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
2023-02-22 21:23:04 +02:00
Randy Eckenrode
6668f9ae8c
moltenvk: 1.2.1 -> 1.2.2
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.2
2023-01-30 17:26:25 -05:00
Randy Eckenrode
f46a7bce86
moltenvk: 1.2.0 -> 1.2.1
https://github.com/KhronosGroup/MoltenVK/releases/tag/v1.2.1
2023-01-23 19:44:42 -05:00
Randy Eckenrode
eb03da8785
moltenvk: build against dependencies in nixpkgs 2023-01-23 19:44:42 -05:00
Weijia Wang
cb6831ac44 darwin.moltenvk: fix build 2023-01-20 20:47:11 +01:00
Randy Eckenrode
edad2ee58c
moltenvk: 1.1.11 -> 1.2.0 2022-10-19 08:56:10 -04:00
Randy Eckenrode
d1799fe385
moltenvk: 1.1.10 -> 1.1.11 2022-08-14 15:27:04 -04:00
Randy Eckenrode
c92d1a55d3
moltenvk: 1.1.9 -> 1.1.10 2022-07-21 17:03:54 -04:00
Randy Eckenrode
9d2b95eef3
moltenvk: refactor to build without Xcode
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

- Use the 11.0 SDK instead of the 10.12 one on x86_64-darwin;
- Use `NIX_CFLAGS_COMPILE` and `NIX_LDFLAGS` to pass flags to the
  compiler instead of patching the Xcode project files; and
- Use xcbuild to build the project.
2022-07-21 17:03:53 -04:00
Randy Eckenrode
22d787323b
moltenvk: use functional form of mkDerivation
This allows MoltenVK to be overriden with pinned dependencies.
2022-06-07 10:06:31 -04:00
Randy Eckenrode
54d3d61b0c
moltenvk: remove DXVK compatibility patches 2022-06-07 10:06:31 -04:00
Randy Eckenrode
71ceba177f
moltenvk: provide MoltenVK-specific headers
These are needed to compile `vulkaninfo` in the Vulkan-Tools package.
2022-05-23 00:59:49 -04:00
Randy Eckenrode
af99bbf451
moltenvk: fix broken ICD definition 2022-05-23 00:59:48 -04:00
Randy Eckenrode
75c7e04801
moltenvk: fix Hydra build failures
MoltenVK requires Xcode to build until a newer SDK (11+) is available in
nixpkgs. Disable building on Hydra until that changes.
2022-04-22 08:54:54 -04:00
Randy Eckenrode
683e87e2eb
moltenvk: 1.1.8 -> 1.1.9 2022-04-19 20:35:45 -04:00
Randy Eckenrode
f29e152b7e
dxvk: support version-specific MoltenVK patches
While it’s unlikely, it’s possible that different MoltenVK versions
could require their own compatability patches. Support that by making
the `moltenvk` derivation provide the patch via `passthru`. There is no
package with the patch applied because the patch should never be used by
anything other than DXVK.
2022-03-09 11:31:10 -05:00
Randy Eckenrode
13c0a35fc1
moltenvk: 1.1.7 -> 1.1.8 2022-02-23 11:10:57 -05:00
Randy Eckenrode
b07e3705f2
moltenvk: add MoltenVK_icd.json to output 2022-02-16 17:36:50 -05:00
Randy Eckenrode
f138abff3d
moltenvk: init at 1.1.7 2022-02-16 17:17:06 -05:00