-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also fix Go & Gazelle libs, update CC & Foreign CC toolchains to properly handle -x c++, which should fix the AOM and X265 builds.
- Loading branch information
1 parent
a50262f
commit b9a82f6
Showing
16 changed files
with
286 additions
and
58 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
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
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
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
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
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,30 @@ | ||
load("//lib:lib.bzl", "package_lib") | ||
load("//toolchains/cmake:cmake.bzl", "cache_entries", "cmake_lib") | ||
load(":package.bzl", "NAME") | ||
|
||
package(default_visibility = ["//:__subpackages__"]) | ||
|
||
package_lib() | ||
|
||
cmake_lib( | ||
name = NAME, | ||
build_data = { | ||
"//cond:emscripten": [], | ||
"//conditions:default": ["@yasm//:yasm"], | ||
}, | ||
cache_entries = cache_entries( | ||
aom_target_cpu = "generic", # disable asm | ||
enable_docs = False, | ||
enable_examples = False, | ||
enable_testdata = False, | ||
enable_tests = False, | ||
enable_tools = False, | ||
), | ||
copts = select({ | ||
"//cond:emscripten": [ | ||
"-msimd128", | ||
"-msse4.2", | ||
], | ||
"//conditions:default": [], | ||
}), | ||
) |
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,18 @@ | ||
"""Workspace rule for downloading package dependencies.""" | ||
|
||
load("//lib:http_archive.bzl", "http_archive") | ||
|
||
NAME = "aom" | ||
VERSION = "3.8.0" | ||
SHA256 = "d8e0cb0157410e97ffcf01f4fe24e6447303c46cc4103d6597ba30ef508afe05" | ||
|
||
URL = "https://github.com/m-ab-s/{name}/archive/refs/tags/v{version}.tar.gz" | ||
|
||
def download(): | ||
http_archive( | ||
name = NAME, | ||
version = VERSION, | ||
urls = [URL], | ||
sha256 = SHA256, | ||
strip_prefix = "{name}-{version}", | ||
) |
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
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
Oops, something went wrong.