mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
ci: Build the DirectX shader compiler for macOS.
This commit is contained in:
parent
7c3f424a97
commit
19c699870b
Notes:
Henri Verbeet
2024-10-17 17:40:01 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1192
@ -36,9 +36,23 @@ image-mac:
|
||||
tags:
|
||||
- mac
|
||||
script:
|
||||
- brew install cmake clang-format
|
||||
- mkdir image
|
||||
- mkdir image/dxc
|
||||
- mkdir image/moltenvk
|
||||
|
||||
# The specified commit includes the open sourced libdxil.dylib,
|
||||
# which is not available yet in any released version
|
||||
- git clone --recursive https://github.com/microsoft/DirectXShaderCompiler.git
|
||||
- cd DirectXShaderCompiler
|
||||
- git checkout dfa1c814cc4c912ba982854b72f64527baa3e7e5
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake .. -C ../cmake/caches/PredefinedParams.cmake
|
||||
- make -j$(sysctl -n hw.ncpu)
|
||||
- cd ../..
|
||||
- cp DirectXShaderCompiler/build/lib/libdxcompiler.dylib DirectXShaderCompiler/build/lib/libdxil.dylib image/dxc
|
||||
|
||||
- git clone --depth 1 --branch v1.2.9 https://github.com/KhronosGroup/MoltenVK.git
|
||||
- cd MoltenVK
|
||||
- ./fetchDependencies --macos
|
||||
|
Loading…
Reference in New Issue
Block a user