mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-15 16:18:20 +03:00
build_proton.sh: configure DXVK release-ness differently
To avoid a bug in meson where it apparently ignores configure commands from scripts. https://github.com/ValveSoftware/Proton/issues/192
This commit is contained in:
parent
e16787046b
commit
5aed286761
@ -452,17 +452,15 @@ function build_dxvk
|
|||||||
cd "$TOP"/dxvk
|
cd "$TOP"/dxvk
|
||||||
mkdir -p "$TOP"/build/dxvk.win32
|
mkdir -p "$TOP"/build/dxvk.win32
|
||||||
cd "$TOP"/dxvk
|
cd "$TOP"/dxvk
|
||||||
PATH="$TOP/glslang/bin/:$PATH" meson --prefix="$TOP"/build/dxvk.win32 --cross-file build-win32.txt "$TOP"/build/dxvk.win32
|
PATH="$TOP/glslang/bin/:$PATH" meson --strip --buildtype="release" --prefix="$TOP"/build/dxvk.win32 --cross-file build-win32.txt "$TOP"/build/dxvk.win32
|
||||||
cd "$TOP"/build/dxvk.win32
|
cd "$TOP"/build/dxvk.win32
|
||||||
PATH="$TOP/glslang/bin/:$PATH" meson configure -Dbuildtype=release
|
|
||||||
PATH="$TOP/glslang/bin/:$PATH" ninja
|
PATH="$TOP/glslang/bin/:$PATH" ninja
|
||||||
PATH="$TOP/glslang/bin/:$PATH" ninja install
|
PATH="$TOP/glslang/bin/:$PATH" ninja install
|
||||||
|
|
||||||
cd "$TOP"/dxvk
|
cd "$TOP"/dxvk
|
||||||
mkdir -p "$TOP"/build/dxvk.win64
|
mkdir -p "$TOP"/build/dxvk.win64
|
||||||
PATH="$TOP/glslang/bin/:$PATH" meson --prefix="$TOP"/build/dxvk.win64 --cross-file build-win64.txt "$TOP"/build/dxvk.win64
|
PATH="$TOP/glslang/bin/:$PATH" meson --strip --buildtype="release" --prefix="$TOP"/build/dxvk.win64 --cross-file build-win64.txt "$TOP"/build/dxvk.win64
|
||||||
cd "$TOP"/build/dxvk.win64
|
cd "$TOP"/build/dxvk.win64
|
||||||
PATH="$TOP/glslang/bin/:$PATH" meson configure -Dbuildtype=release
|
|
||||||
PATH="$TOP/glslang/bin/:$PATH" ninja
|
PATH="$TOP/glslang/bin/:$PATH" ninja
|
||||||
PATH="$TOP/glslang/bin/:$PATH" ninja install
|
PATH="$TOP/glslang/bin/:$PATH" ninja install
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user