Skip to content

Commit 003b4d3

Browse files
committed
Merge branch 'master' into spiced
2 parents 59306c8 + 8164ade commit 003b4d3

9 files changed

Lines changed: 7 additions & 33 deletions

File tree

.env

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ STOWDIR="${PREFIX}/stow"
66
PKG_CONFIG_PATH="${PREFIX}/lib/pkgconfig"
77
CMAKE_GENERATOR="Ninja"
88
MACOSX_DEPLOYMENT_TARGET="$(sw_vers -productVersion 2>/dev/null || echo "15.4")"
9-
CMAKE_POLICY_VERSION_MINIMUM="4.0"
9+
10+
CMAKE_POLICY_VERSION_MINIMUM="4.1"
1011
MACOSX_DEPLOYMENT_TARGET="${MACOSX_DEPLOYMENT_TARGET:-26.0}"
1112
CFLAGS="-mcpu=native"
1213
CXXFLAGS="${CFLAGS}"

README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,6 @@ mkdir /opt/local/stow
7272

7373
:arrow_right: Add `/opt/local/bin` (or `$PREFIX/bin`) to your `$PATH`.
7474

75-
### Recommended settings
76-
77-
```cfg
78-
# ~/.config/mpv/mpv.conf
79-
vo=gpu-next
80-
hwdec=videotoolbox
81-
macos-render-timer=feedback
82-
```
83-
8475
### Environment variables
8576

8677
- `MVK_CONFIG_LOG_LEVEL=<value>` - sets MoltenVK log level:

build-ffmpeg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash -e
22
#
33
# FFmpeg
4-
# https://git.ffmpeg.org/ffmpeg.git
4+
# https://code.ffmpeg.org/FFmpeg/FFmpeg.git
55
#
66
cd "$(dirname "$0")"
77
set -a; . .env; set +a

build-moltenvk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ echo "*** $0: started"
1818
cd "${srcdir}"
1919

2020
sed -i '' 's/xcodebuild "$@"/'"${xcodebuild}"' "$@"/g' fetchDependencies
21-
sed -i '' 's/XCODEBUILD := .*/XCODEBUILD := '"${xcodebuild}"'/' Makefile
21+
sed -Ei '' 's/(XCODEBUILD := ).*/\1'"${xcodebuild}"'/' Makefile
2222
./fetchDependencies --macos --v-headers-root "${PREFIX}"
23-
make macos MVK_CONFIG_LOG_LEVEL=1 "$@"
23+
make macos MVK_CONFIG_LOG_LEVEL=1 MVK_USE_METAL_PRIVATE_API=1 "$@"
2424

2525
sed -i '' 's;\./;../../../lib/;' "${builddir}"/MoltenVK_icd.json
2626
echo

build-shaderc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rm -rf "${builddir}"
1818

1919
cd "${srcdir}"
2020
sed -i '' 's/${SHADERC_SKIP_INSTALL}/ON/g' third_party/CMakeLists.txt
21-
sed -i '' '/^.*GLSLANG_ENABLE_INSTALL.*$/d' third_party/CMakeLists.txt
21+
sed -Ei '' 's/(GLSLANG_ENABLE_INSTALL ).*\)/\1OFF)/g' third_party/CMakeLists.txt
2222
./utils/git-sync-deps
2323
cd -
2424

build-svt-av1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ cmake --build "${builddir}"
3131
rm -rf "${pkgdir}"
3232

3333
cmake --install "${builddir}"
34+
rm -rf "${pkgdir}"/lib/cmake
3435
stow -Rd "${STOWDIR}" "${pkgname}"
3536

3637
rm -rf "${builddir}"

build-whisper

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ cmake -B "${builddir}" -S "${srcdir}" \
3030
-DGGML_NATIVE="${GGML_NATIVE}" \
3131
-DGGML_LTO=ON \
3232
-DGGML_METAL=ON \
33-
-DGGML_METAL_USE_BF16=ON \
3433
-DGGML_METAL_NDEBUG=ON \
3534
-DGGML_CCACHE=OFF \
3635
-DGGML_OPENMP=OFF \

fetch

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ fetch_libplacebo() {
107107
local url="https://code.videolan.org/videolan/libplacebo.git"
108108
rm -rf src/libplacebo
109109
git -C src clone --depth 1 --recurse-submodules=3rdparty/{fast_float,jinja,markupsafe} "${url}"
110-
git -C src/libplacebo apply --apply --stat "$(realpath patches/libplacebo-disable-host-copy.diff)"
111110
}
112111

113112
fetch_libpng() {

patches/libplacebo-disable-host-copy.diff

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)