Skip to content

Commit f1d575e

Browse files
committed
Windows: switch to MSYS2 clang environment
1 parent 7675afe commit f1d575e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/packaging.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
matrix:
9999
include:
100100
- arch: x86_64
101-
prefix: mingw-w64-x86_64
101+
prefix: mingw-w64-clang-x86_64
102102
defaults:
103103
run:
104104
shell: msys2 {0}
@@ -109,7 +109,7 @@ jobs:
109109
- name: Setup msys2
110110
uses: msys2/setup-msys2@v2
111111
with:
112-
msystem: mingw64
112+
msystem: clang64
113113
release: false
114114
update: true
115115
install: >-

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ jobs:
180180
matrix:
181181
include:
182182
- arch: x86_64
183-
prefix: mingw-w64-x86_64
183+
prefix: mingw-w64-clang-x86_64
184184
defaults:
185185
run:
186186
shell: msys2 {0}
@@ -191,7 +191,7 @@ jobs:
191191
- name: Setup msys2
192192
uses: msys2/setup-msys2@v2
193193
with:
194-
msystem: mingw64
194+
msystem: clang64
195195
release: false
196196
update: true
197197
install: >-

doc/PACKAGING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ your own machine.
5858
### Building a Frozen Application with cx_Freeze
5959

6060
Follow the instructions on [installing MSYS2](https://www.msys2.org/#installation).
61-
Once MSYS2 is installed, launch the MINGW64 environment.
61+
Once MSYS2 is installed, launch the CLANG64 environment.
6262

6363
Clone the `nicotine-plus` Git repository:
6464

@@ -72,7 +72,7 @@ Install dependencies:
7272

7373
```sh
7474
export ARCH=x86_64
75-
pacman --noconfirm -S --needed mingw-w64-$ARCH-python
75+
pacman --noconfirm -S --needed mingw-w64-clang-$ARCH-python
7676
python3 packaging/windows/dependencies.py
7777
```
7878

packaging/windows/dependencies.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def install_pacman():
2525
"""Install dependencies from the main MinGW repos."""
2626

2727
arch = os.environ.get("ARCH", "x86_64")
28-
prefix = "mingw-w64-clang-aarch64" if arch == "arm64" else "mingw-w64-x86_64"
28+
prefix = "mingw-w64-clang-aarch64" if arch == "arm64" else "mingw-w64-clang-x86_64"
2929

3030
packages = [f"{prefix}-ca-certificates",
3131
f"{prefix}-gettext-tools",

0 commit comments

Comments
 (0)