Repository navigation
[ci] Add docker and kokoro configuration for SwiftShader - #2628
Conversation
This commit adds a docker image to build Ubuntu 18.04 together with the Vulkan SDK. With this docker image, we should be able to checkout and build SwiftShader first and use it as the Vulkan ICD and then build IREE itself and run all Vulkan tests.
|
Note that this pull request does not integrate swiftshader inside the docker image. I have a follow-up commit for it: antiagainst@869a50b |
| # docker build --tag gcr.io/iree-oss/cmake-vulkan \ | ||
| # build_tools/docker/cmake_vulkan/ |
There was a problem hiding this comment.
| # docker build --tag gcr.io/iree-oss/cmake-vulkan \ | |
| # build_tools/docker/cmake_vulkan/ | |
| # docker build --tag gcr.io/iree-oss/cmake-vulkan \ | |
| # build_tools/docker/cmake_vulkan/ |
GMNGeoffrey
left a comment
There was a problem hiding this comment.
So this should work as-is and then you're preparing a docker container that already has swiftshader? I'll create a new Kokoro build for it.
Yes, right. |
|
The build is set up. You need to actually push the docker image to GCR :-) |
This avoids always compiling SwiftShader as the pre step before building and running IREE tests.
|
Ready to go now. :) |
|
@phoenix-meadowlark currently merging is blocked because you requested changes. I think those have been addressed. Could you take another look? |
|
Just changed a comment. previously passing. Merging now. |
* c404740 Merge pull request #2677 from antiagainst/google-to-main * 300ea5e Report error message for type mismatch (#2666) * 0a9b126 Upload integrations bazel invocation to result store (#2658) * e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676) * 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536) * 7283cee Avoid running docker builds as root (#2663) * ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546) * f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670) * 326a995 Update third_party/sdl2 submodule to latest. (#2657) * 6326322 Include python headers even if nested. (#2669) * 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608) * a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds. * d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu * d687de8 Fix format * 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646) * 6e5ddbc Test entry function conversion to LLVMIR (#2641) * 314afa5 Disable sliding window * 36f8551 Merge google -> main #2656 * 8baacad Disable SDL sensor support on Windows. (#2655) * 2b91d9a Run integrations build as root (#2654) * b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649) * 84f52e1 Fixes dead getting started link. (#2652) * 50d15b4 Shuffle file again * a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628) * 71dbd91 Move file to proper place * c9cd5f0 Add build.sh and update build_and_update_gcr.py * 1172972 Update to the new structure * ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu * 1425737 Fix flatcc target name and binary path (#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. * a47b4bd Fix docker names in comments * c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu * 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro COPYBARA_INTEGRATE_REVIEW=#2691 from antiagainst:merge-main c404740 PiperOrigin-RevId: 323662370
* c404740 Merge pull request #2677 from antiagainst/google-to-main * 300ea5e Report error message for type mismatch (#2666) * 0a9b126 Upload integrations bazel invocation to result store (#2658) * e84db55 Revert "Add GitHub action to create PRs merging google -> main" (#2676) * 360e2f0 Add a VM to EmitC conversion and CModule Target (#2536) * 7283cee Avoid running docker builds as root (#2663) * ffc7080 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro (#2546) * f536871 Enable iota.test on vulkan-spirv and llvm-ir backends. (#2670) * 326a995 Update third_party/sdl2 submodule to latest. (#2657) * 6326322 Include python headers even if nested. (#2669) * 06ed2db Add matmul tile and vectorize lowering stratgy to LinalgToLLVM passes (#2608) * a1914e7 Add a ZLIB find_package call for INSTALLED llvm builds. * d7412e9 Merge remote-tracking branch 'origin/main' into bazel-gpu * d687de8 Fix format * 96e224c [ci] Add Dockerfile and Kokoro configuration for Bazel and SwiftShader (#2646) * 6e5ddbc Test entry function conversion to LLVMIR (#2641) * 314afa5 Disable sliding window * 36f8551 Merge google -> main #2656 * 8baacad Disable SDL sensor support on Windows. (#2655) * 2b91d9a Run integrations build as root (#2654) * b784bf2 Delete unnecessary 'continuous' Kokoro configs (#2649) * 84f52e1 Fixes dead getting started link. (#2652) * 50d15b4 Shuffle file again * a33973e [ci] Add docker and kokoro configuration for SwiftShader (#2628) * 71dbd91 Move file to proper place * c9cd5f0 Add build.sh and update build_and_update_gcr.py * 1172972 Update to the new structure * ac7d661 Merge remote-tracking branch 'origin/main' into bazel-gpu * 1425737 Fix flatcc target name and binary path (#2599) * 8c18b8c Refactoring bytecode_module to use flatcc instead of flatbuffers C++. This imp.. * 3762c13 Linking in the flatcc bytecode_module_def files. This ensures they are correct.. * eb53de3 Building bytecode_module_def with flatcc. * a47b4bd Fix docker names in comments * c8bc5aa Merge remote-tracking branch 'origin/main' into bazel-gpu * 6622499 [ci] Add Dockerfile for bazel-nvidia and use it in Kokoro
This commit adds a docker image to build Ubuntu 18.04 together
with the Vulkan SDK. With this docker image, we should be able
to checkout and build SwiftShader first and use it as the Vulkan
ICD and then build IREE itself and run all Vulkan tests.