Skip to content

Commit

Permalink
update dependencies (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
rjodinchr authored Mar 16, 2024
1 parent 7e9cc8a commit b163cab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ jobs:
sudo apt-get install ninja-build libvulkan-dev clang-15 mesa-vulkan-drivers
- name: Build SPIRV-Tools
run: |
git clone --depth 1 --branch vksp https://github.com/rjodinchr/SPIRV-Tools.git third_party/spirv-tools
git clone --depth 1 --branch vksp https://github.com/rjodinchr/SPIRV-Headers.git third_party/spirv-tools/external/spirv-headers
git clone --depth 1 --branch main https://github.com/KhronosGroup/SPIRV-Tools.git third_party/spirv-tools
git clone --depth 1 --branch main https://github.com/KhronosGroup/SPIRV-Headers.git third_party/spirv-tools/external/spirv-headers
cmake -B third_party/spirv-tools/build -S third_party/spirv-tools/ -G Ninja \
-DCMAKE_CXX_COMPILER="$(which clang++)" \
-DCMAKE_BUILD_TYPE=Release
cmake --build third_party/spirv-tools/build
cmake --install third_party/spirv-tools/build --prefix $(pwd)/install/
- name: Build Perfetto
run: |
git clone --depth 1 --branch v39.0 https://android.googlesource.com/platform/external/perfetto third_party/perfetto
git clone --depth 1 --branch v43.2 https://android.googlesource.com/platform/external/perfetto third_party/perfetto
$(pwd)/third_party/perfetto/tools/install-build-deps
$(pwd)/third_party/perfetto/tools/setup_all_configs.py
$(pwd)/third_party/perfetto/tools/ninja -C $(pwd)/third_party/perfetto/out/linux_clang_release libtrace_processor.a perfetto traced
Expand All @@ -54,7 +54,7 @@ jobs:
sudo apt-get install build-essential libx11-xcb-dev libxkbcommon-dev libwayland-dev libxrandr-dev
- name: Build Vulkan-Loader
run : |
git clone --depth 1 --branch v1.3.240 https://github.com/KhronosGroup/Vulkan-Loader.git third_party/vulkan-loader
git clone --depth 1 --branch v1.3.280 https://github.com/KhronosGroup/Vulkan-Loader.git third_party/vulkan-loader
cmake -B third_party/vulkan-loader/build -S third_party/vulkan-loader -G Ninja \
-DVulkanHeaders_DIR=$(pwd)/install/share/cmake/VulkanHeaders \
-DCMAKE_CXX_COMPILER="$(which clang++)" \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ Using the `vulkan-shader-profiler-extractor` and `vulkan-shader-profiler-runner`

* [Vulkan-Loader](https://github.com/KhronosGroup/Vulkan-Loader)
* [Vulkan-Headers](https://github.com/KhronosGroup/Vulkan-Headers)
* [SPIRV-Headers](https://github.com/KhronosGroup/SPIRV-Headers) (with https://github.com/KhronosGroup/SPIRV-Headers/pull/398)
* [SPIRV-Tools](https://github.com/KhronosGroup/SPIRV-Tools) (with https://github.com/KhronosGroup/SPIRV-Tools/pull/5512)
* [SPIRV-Headers](https://github.com/KhronosGroup/SPIRV-Headers)
* [SPIRV-Tools](https://github.com/KhronosGroup/SPIRV-Tools)
* [perfetto](https://github.com/google/perfetto)

`vulkan-kernel-profiler` also (obviously) depends on a Vulkan implementation.
Expand Down

0 comments on commit b163cab

Please sign in to comment.