Commit Graph

19 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
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
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