mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-08 06:05:55 +00:00
Roll third_party/SPIRV-Tools/ 253806adc..e3da3143b (14 commits)253806adc4..e3da3143b2
$ git log 253806adc..e3da3143b --date=short --no-merges --format='%ad %ae %s' 2019-10-17 kubak Disallow use of OpCompositeExtract/OpCompositeInsert with no indices (#2980) 2019-10-17 rharrison Add fuzzer for spirv-dis call path (#2977) 2019-10-17 rharrison Check binary->code existence before destroying (#2979) 2019-10-17 akb825 Improved CMake install step. (#2963) 2019-10-16 kubak Support constant-folding UConvert and SConvert (#2960) 2019-10-16 rharrison Add fuzzer for spirv-as call path (#2976) 2019-10-15 afdx spirv-fuzz: Refactor 'copy object' and 'construct composite' transformations (#2966) 2019-10-15 dneto Update SPIR-V binary header test for SPIR-V 1.5 (#2967) 2019-10-14 afdx spirv-fuzz: Refactor 'split blocks' to identify instructions differently (#2961) 2019-10-11 alanbaker Validate that selections are structured (#2962) 2019-10-11 afdx spirv-fuzz: Rework id descriptors (#2959) 2019-10-11 afdx spirv-fuzz: Add fuzzer pass to add NoContraction decorations (#2950) 2019-10-11 afdx spirv-fuzz: Add fuzzer pass to change function controls (#2951) 2019-10-10 paulthomson reduce: add large tests and fix (#2947) Roll third_party/glslang/ 4b97a1108..834ee546f (23 commits)4b97a11081..834ee546f9
$ git log 4b97a1108..834ee546f --date=short --no-merges --format='%ad %ae %s' 2019-10-17 jbolz Only apply volatile semantics to atomics when using Vulkan Memory Model 2019-10-16 dsinclair Use commandline options instead of ENV variables 2019-10-16 rharrison Keep code style improvements 2019-10-16 dsinclair Indenting 2019-10-15 dsinclair Update CMakeLists.txt 2019-10-15 dsinclair Move TARGETDIR as well 2019-10-15 dsinclair Make runtests configurable. 2019-10-15 rharrison Fix config issues and revert previous fixes for semi-colon issues 2019-10-16 swda.durl Added an option to make pch enabled in Cmake 2019-10-15 wahlster find Python and add External subdir only if BUILD_EXTERNAL option was set (on by default) and /External dir exists 2019-10-14 cepheus GLSL/SPV: Pre SPIR-V 1.5, subgroupQuadBroadcast index must be constant 2019-10-12 geothrock remove redundant check 2019-10-12 Xottab-DUTY Fixed typo in README.md 2019-10-11 rharrison Forgot that GCC doesn't recognize this flag 2019-10-11 rharrison Remove unnecessary semi-colons and add warning about them 2019-10-10 cepheus Fix #1924: Promote SPV_EXT_physical_storage_buffer to KHR when required. 2019-10-10 greg Update spirv-tools known good. 2019-10-10 cepheus Fix #1924: Emit SPV_EXT_physical_storage_buffer, not the KHR form. 2019-09-04 lryer Fix code style issue and remove setXfbBufferStride new paramte 2019-09-02 lryer Adjusting code interface 2019-08-25 geothrock Add support for GL_ARB_explicit_uniform_location 2019-08-06 james.rumble Handle install vs build include directories 2019-08-06 james.rumble Export glslang targets on installation Roll third_party/spirv-cross/ e5d3a6655..a92668bc1 (8 commits)e5d3a6655e..a92668bc11
$ git log e5d3a6655..a92668bc1 --date=short --no-merges --format='%ad %ae %s' 2019-10-17 post Fix OpVectorExtractDynamic with spec constant op index. 2019-10-16 post Travis: Update PATH for Python3 on Windows. 2019-10-14 post MSL: Add opt-in support for huge IABs. 2019-10-14 post HLSL: Fix unrolled S/G LE/LT/GE/GT opcodes. 2019-10-14 post GLSL: Deal correctly with bitwidth on integer compares. 2019-10-14 post HLSL: Partially implement Unordered compare. 2019-10-14 post GLSL: Support unordered floating point compare. 2019-10-11 post MSL: Fix regression with OpCompositeConstruct from std140 float[]. Roll third_party/spirv-headers/ b252a5095..af64a9e82 (2 commits)b252a50953..af64a9e826
$ git log b252a5095..af64a9e82 --date=short --no-merges --format='%ad %ae %s' 2019-10-15 cepheus Versioning: Complete the versioning change in recent commits. 2019-10-14 nicolai.haehnle buildHeaders: update version to SPIR-V 1.5 Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: I0396a3e0e20e7cfc74603ef60512c2c715eb2c70 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12440 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
208 lines
6.7 KiB
Python
208 lines
6.7 KiB
Python
use_relative_paths = True
|
|
use_relative_hooks = True
|
|
|
|
vars = {
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
|
'dawn_git': 'https://dawn.googlesource.com',
|
|
'github_git': 'https://github.com',
|
|
|
|
'dawn_standalone': True,
|
|
}
|
|
|
|
deps = {
|
|
# Dependencies required to use GN/Clang in standalone
|
|
'build': {
|
|
'url': '{chromium_git}/chromium/src/build@f3d0ca5f46b7b190dbbdc6be508ca11dd5c54302',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'buildtools': {
|
|
'url': '{chromium_git}/chromium/src/buildtools@74cfb57006f83cfe050817526db359d5c8a11628',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'tools/clang': {
|
|
'url': '{chromium_git}/chromium/src/tools/clang@3605577b67603ec5776afcfada9e0ff4ea05cf0e',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/binutils': {
|
|
'url': '{chromium_git}/chromium/src/third_party/binutils@01aa7745b0bab64ae22600f09fd6483c60f22ebf',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Testing, GTest and GMock
|
|
'testing': {
|
|
'url': '{chromium_git}/chromium/src/testing@2ffbbb3c8e33d51ddb3cc6b8cd10588302c33628',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/googletest': {
|
|
'url': '{chromium_git}/external/github.com/google/googletest@5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Jinja2 and MarkupSafe for the code generator
|
|
'third_party/jinja2': {
|
|
'url': '{chromium_git}/chromium/src/third_party/jinja2@b41863e42637544c2941b574c7877d3e1f663e25',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/markupsafe': {
|
|
'url': '{chromium_git}/chromium/src/third_party/markupsafe@8f45f5cfa0009d2a70589bcda0349b8cb2b72783',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# SPIRV-Cross
|
|
'third_party/spirv-cross': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@a92668bc118a7660e7e2689b74e642508a2a2737',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# SPIRV compiler dependencies: SPIRV-Tools, SPIRV-headers, glslang and shaderc
|
|
'third_party/SPIRV-Tools': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@e3da3143b2fbecb0caef19c36eb73b0caf9cb543',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/spirv-headers': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@af64a9e826bf5bb5fcd2434dd71be1e41e922563',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/glslang': {
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@834ee546f93d33a80fb2dea6fdef6764f8730b75',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
'third_party/shaderc': {
|
|
'url': '{chromium_git}/external/github.com/google/shaderc@65adcb504d024bb29f0ad8279b6a215d5f679832',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# jsoncpp for perf tests trace events
|
|
'third_party/jsoncpp': {
|
|
'url': '{chromium_git}/chromium/src/third_party/jsoncpp@571788934b5ee8643d53e5d054534abbe6006168',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
'third_party/jsoncpp/source': {
|
|
'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@645250b6690785be60ab6780ce4b58698d884d11',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# GLFW for tests and samples
|
|
'third_party/glfw': {
|
|
'url': '{chromium_git}/external/github.com/glfw/glfw@2de2589f910b1a85905f425be4d32f33cec092df',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Dependencies for samples: GLM
|
|
'third_party/glm': {
|
|
'url': '{github_git}/g-truc/glm.git@06f084063fd6d9aa2ef6904517650700ae47b63d',
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
|
|
# Our own pre-compiled Linux clang-format 7.0 for presubmit
|
|
'third_party/clang-format': {
|
|
'url': '{dawn_git}/clang-format@2451c56cd368676cdb230fd5ad11731ab859f1a3',
|
|
'condition': 'dawn_standalone and checkout_linux',
|
|
},
|
|
}
|
|
|
|
hooks = [
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
{
|
|
'name': 'clang_format_win',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "win" and dawn_standalone',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=win32',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/win/clang-format.exe.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_mac',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "mac" and dawn_standalone',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=darwin',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/mac/clang-format.sha1',
|
|
],
|
|
},
|
|
{
|
|
'name': 'clang_format_linux',
|
|
'pattern': '.',
|
|
'condition': 'host_os == "linux" and dawn_standalone',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--platform=linux*',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-clang-format',
|
|
'-s', 'buildtools/linux64/clang-format.sha1',
|
|
],
|
|
},
|
|
|
|
# Pull the compilers and system libraries for hermetic builds
|
|
{
|
|
'name': 'sysroot_x86',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and dawn_standalone)',
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x86'],
|
|
},
|
|
{
|
|
'name': 'sysroot_x64',
|
|
'pattern': '.',
|
|
'condition': 'checkout_linux and (checkout_x64 and dawn_standalone)',
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
|
'--arch=x64'],
|
|
},
|
|
{
|
|
# Update the Windows toolchain if necessary. Must run before 'clang' below.
|
|
'name': 'win_toolchain',
|
|
'pattern': '.',
|
|
'condition': 'checkout_win and dawn_standalone',
|
|
'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
|
|
},
|
|
{
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
|
'name': 'clang',
|
|
'pattern': '.',
|
|
'action': ['python', 'tools/clang/scripts/update.py'],
|
|
'condition': 'dawn_standalone',
|
|
},
|
|
{
|
|
# Pull rc binaries using checked-in hashes.
|
|
'name': 'rc_win',
|
|
'pattern': '.',
|
|
'condition': 'checkout_win and (host_os == "win" and dawn_standalone)',
|
|
'action': [ 'download_from_google_storage',
|
|
'--no_resume',
|
|
'--no_auth',
|
|
'--bucket', 'chromium-browser-clang/rc',
|
|
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
|
|
],
|
|
},
|
|
# Pull binutils for linux hermetic builds
|
|
{
|
|
'name': 'binutils',
|
|
'pattern': 'src/third_party/binutils',
|
|
'condition': 'host_os == "linux"',
|
|
'action': [
|
|
'python',
|
|
'third_party/binutils/download.py',
|
|
],
|
|
},
|
|
# Update build/util/LASTCHANGE.
|
|
{
|
|
'name': 'lastchange',
|
|
'pattern': '.',
|
|
'action': ['python', 'build/util/lastchange.py',
|
|
'-o', 'build/util/LASTCHANGE'],
|
|
},
|
|
]
|
|
|
|
recursedeps = [
|
|
# buildtools provides clang_format, libc++, and libc++abi
|
|
'buildtools',
|
|
]
|