Browse Source

Cherry-pick a opus fix for detecting CPU instructions on Windows

pull/17035/head
Ilya Fedin 2 months ago
committed by John Preston
parent
commit
1b789de4f4
  1. 1
      .github/workflows/win.yml
  2. 1
      Telegram/build/prepare/prepare.py

1
.github/workflows/win.yml

@ -261,6 +261,7 @@ jobs:
run: |
git clone -b v1.3.1 %GIT%/xiph/opus.git
cd opus
git cherry-pick 927de8453c
cmake -B out . ^
-A Win32 ^
-DCMAKE_INSTALL_PREFIX=%LibrariesPath%/local/opus ^

1
Telegram/build/prepare/prepare.py

@ -501,6 +501,7 @@ mac:
stage('opus', """
git clone -b v1.3.1 https://github.com/xiph/opus.git
cd opus
git cherry-pick 927de8453c
win:
cmake -B out . ^
-A %WIN32X64% ^

Loading…
Cancel
Save