-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libvpx] switch from yasm to nasm (#14545)
* [libvpx] switch from yasm to nasm * [vcpkg] install nasm on azure for osx * Revert "[vcpkg] install nasm on azure for osx" This reverts commit f65ad1b. * [VMSS] Install nasm on OSX * [libvpx] bump port version * [libvpx] Add --as=nasm for non-MSVC triplets * [libvpx] Fix nasm debug format flag * Back out nasm change applied in #15258 Co-authored-by: JackBoosY <[email protected]> Co-authored-by: Long Nguyen <[email protected]> Co-authored-by: Billy Robert O'Neal III <[email protected]>
- Loading branch information
1 parent
8f8f716
commit ba1c3aa
Showing
4 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/build/make/gen_msvs_vcxproj.sh b/build/make/gen_msvs_vcxproj.sh | ||
index bb1c31d23..b634b0609 100755 | ||
--- a/build/make/gen_msvs_vcxproj.sh | ||
+++ b/build/make/gen_msvs_vcxproj.sh | ||
@@ -247,13 +247,13 @@ libs=${libs// /;} | ||
case "$target" in | ||
x86_64*) | ||
platforms[0]="x64" | ||
- asm_Debug_cmdline="yasm -Xvc -g cv8 -f win64 ${yasmincs} "%(FullPath)"" | ||
- asm_Release_cmdline="yasm -Xvc -f win64 ${yasmincs} "%(FullPath)"" | ||
+ asm_Debug_cmdline="nasm -Xvc -gcv8 -f win64 ${yasmincs} "%(FullPath)"" | ||
+ asm_Release_cmdline="nasm -Xvc -f win64 ${yasmincs} "%(FullPath)"" | ||
;; | ||
x86*) | ||
platforms[0]="Win32" | ||
- asm_Debug_cmdline="yasm -Xvc -g cv8 -f win32 ${yasmincs} "%(FullPath)"" | ||
- asm_Release_cmdline="yasm -Xvc -f win32 ${yasmincs} "%(FullPath)"" | ||
+ asm_Debug_cmdline="nasm -Xvc -gcv8 -f win32 ${yasmincs} "%(FullPath)"" | ||
+ asm_Release_cmdline="nasm -Xvc -f win32 ${yasmincs} "%(FullPath)"" | ||
;; | ||
arm64*) | ||
platforms[0]="ARM64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/build/make/configure.sh b/build/make/configure.sh | ||
index 206b54f..49cd13e 100644 | ||
--- a/build/make/configure.sh | ||
+++ b/build/make/configure.sh | ||
@@ -1361,12 +1361,14 @@ EOF | ||
case ${tgt_os} in | ||
win32) | ||
add_asflags -f win32 | ||
- enabled debug && add_asflags -g cv8 | ||
+ enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8 | ||
+ enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8 | ||
EXE_SFX=.exe | ||
;; | ||
win64) | ||
add_asflags -f win64 | ||
- enabled debug && add_asflags -g cv8 | ||
+ enabled debug && [ "${AS}" = yasm ] && add_asflags -g cv8 | ||
+ enabled debug && [ "${AS}" = nasm ] && add_asflags -gcv8 | ||
EXE_SFX=.exe | ||
;; | ||
linux*|solaris*|android*) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
Source: libvpx | ||
Version: 1.9.0 | ||
Port-Version: 4 | ||
Port-Version: 5 | ||
Homepage: https://github.com/webmproject/libvpx | ||
Description: The reference software implementation for the video coding formats VP8 and VP9. | ||
Supports: !(uwp&arm) | ||
Build-Depends: yasm-tool-helper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters