Skip to content

Merge asan and tsan jobs using a matrix. - #17532

Merged
ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:infra-ci-sanitizers
May 31, 2024
Merged

ScottTodd merged 1 commit into
iree-org:mainfrom
ScottTodd:infra-ci-sanitizers

Conversation

@ScottTodd

Copy link
Copy Markdown
Member

Progress on #17136

Note that this switches the TSan job's Docker image from 'base' to 'base-bleeding-edge`.

ci-exactly: sanitizers

@ScottTodd ScottTodd added infrastructure Relating to build systems, CI, or testing cleanup 🧹 labels May 30, 2024
@ScottTodd
ScottTodd marked this pull request as ready for review May 30, 2024 20:44
@ScottTodd
ScottTodd requested a review from bjacob May 30, 2024 20:45
@bjacob

bjacob commented May 31, 2024

Copy link
Copy Markdown
Collaborator

Is that normal:
image

Not clear to me if that is caused by this PR, but I don't see this on other PRs.

Other than that - nice!

@ScottTodd

Copy link
Copy Markdown
Member Author

Is that normal: image

Not clear to me if that is caused by this PR, but I don't see this on other PRs.

Other than that - nice!

Yeah, artifact of using a matrix parameter in the job names and then skipping the full matrix. If the name isn't explicitly set then it gets populated from the full list of matrix values, like Benchmark / build_benchmark_tools / build_benchmark_tools (linux, x86_64, gcr.io/iree-oss/base-bleeding-edge@sha256:c5f28883e6c570c20... (push) from

jobs:
build_benchmark_tools:
runs-on:
- self-hosted # must come first
- runner-group=${{ inputs.runner-group }}
- environment=${{ inputs.runner-env }}
- cpu
- os-family=Linux
outputs:
# We can't collect all outputs from the matrix jobs due to Github's
# limitation (https://github.com/orgs/community/discussions/17245).
# Therefore, the output is the GCS directory that stores all benchmark
# tools archives. The following jobs need to construct the archive names
# by themselves and combine with path of GCS directory here to fetch the
# archives.
benchmark-tools-gcs-artifact-dir: ${{ steps.upload.outputs.benchmark-tools-gcs-artifact-dir }}
strategy:
matrix:
target:
- platform: "linux"
arch: "x86_64"
docker_image: "gcr.io/iree-oss/base-bleeding-edge@sha256:c5f28883e6c570c20128fb37d7af3a00a25df3ce4e2b3a24c3a8dcd183182a27"
# Builds tools on the host and assumes the builder is Linux x86_64.
build_script: "./build_tools/cmake/build_runtime.sh"
- platform: "linux"
arch: "riscv_64"
docker_image: "gcr.io/iree-oss/riscv@sha256:62e87bad3405d691ddba6f9be0ef44eeb60461a467c8d86f0842c81a1f97da79"
build_script: "./build_tools/cmake/build_riscv.sh"
- platform: "android"
arch: "armv8.2-a"
docker_image: "gcr.io/iree-oss/android@sha256:66b92a1c920588a73d03316f26025407ea754bab93e8f9bfe40dbf6ed5fe6c7e"
build_script: "./build_tools/cmake/build_android.sh"

@ScottTodd
ScottTodd merged commit 5145f7e into iree-org:main May 31, 2024
@ScottTodd
ScottTodd deleted the infra-ci-sanitizers branch May 31, 2024 01:08
gglangg pushed a commit to gglangg/iree that referenced this pull request Jun 4, 2024
Progress on iree-org#17136

Note that this switches the TSan job's Docker image from 'base' to
'base-bleeding-edge`.

ci-exactly: sanitizers
gglangg pushed a commit to gglangg/iree that referenced this pull request Jun 4, 2024
Progress on iree-org#17136

Note that this switches the TSan job's Docker image from 'base' to
'base-bleeding-edge`.

ci-exactly: sanitizers
bangtianliu pushed a commit to bangtianliu/iree that referenced this pull request Jun 5, 2024
Progress on iree-org#17136

Note that this switches the TSan job's Docker image from 'base' to
'base-bleeding-edge`.

ci-exactly: sanitizers
LLITCHEV pushed a commit to LLITCHEV/iree that referenced this pull request Jul 30, 2024
Progress on iree-org#17136

Note that this switches the TSan job's Docker image from 'base' to
'base-bleeding-edge`.

ci-exactly: sanitizers
Signed-off-by: Lubo Litchev <[email protected]>
benvanik added a commit that referenced this pull request Apr 30, 2025
This allows CMake to check whether the C/C++ compiler can compile ASM.

As per the documetation of CMake
([`project`](https://cmake.org/cmake/help/latest/command/project.html),
[`enable_language`](https://cmake.org/cmake/help/latest/command/enable_language.html)):

> If enabling `ASM`, list it last so that CMake can check whether
compilers for other languages like `C` work for assembly too.

For more information see [CMake issue
#17532](https://gitlab.kitware.com/cmake/cmake/-/issues/17532).

Signed-off-by: Javier Dehesa <[email protected]>
Co-authored-by: Ben Vanik <[email protected]>
KyleHerndon pushed a commit to KyleHerndon/iree that referenced this pull request May 7, 2025
This allows CMake to check whether the C/C++ compiler can compile ASM.

As per the documetation of CMake
([`project`](https://cmake.org/cmake/help/latest/command/project.html),
[`enable_language`](https://cmake.org/cmake/help/latest/command/enable_language.html)):

> If enabling `ASM`, list it last so that CMake can check whether
compilers for other languages like `C` work for assembly too.

For more information see [CMake issue
iree-org#17532](https://gitlab.kitware.com/cmake/cmake/-/issues/17532).

Signed-off-by: Javier Dehesa <[email protected]>
Co-authored-by: Ben Vanik <[email protected]>
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
This allows CMake to check whether the C/C++ compiler can compile ASM.

As per the documetation of CMake
([`project`](https://cmake.org/cmake/help/latest/command/project.html),
[`enable_language`](https://cmake.org/cmake/help/latest/command/enable_language.html)):

> If enabling `ASM`, list it last so that CMake can check whether
compilers for other languages like `C` work for assembly too.

For more information see [CMake issue
#17532](https://gitlab.kitware.com/cmake/cmake/-/issues/17532).

Signed-off-by: Javier Dehesa <[email protected]>
Co-authored-by: Ben Vanik <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup 🧹 infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants