Commit 35f944f
authored
[CI] Move SPIRV-backend testing to post-commit (#19669)
Development happens mostly upstream, so there is no need to have that in
pre-commit, post-commit should be enough.
Before this PR, when running E2E tests in "in-tree" mode (as opposite to
a standalone e2e tests cmake invocation), some utilities (e.g.
`llvm-ar`) were only searched for in `PATH` that didn't contain freshly
built toolchain. Our pre-commit used a container image with last
successful "Nightly" toolchain installed, so those were picked up from
there. Post-commit uses GNU Compiler instead of Clang, so these
utilities aren't available in `PATH`.
This PR modifies`lit.cfg.py` such that we search for those utilities in
the newly built toolchain first (still not modifying `PATH` which seems
to be the approach taken in LIT). That also ensures that `opencl-aot`
feature is available when running E2E tests in `build-only` mode in
Post-commit's build job.1 parent 1ef3069 commit 35f944f
5 files changed
Lines changed: 23 additions & 30 deletions
File tree
- .github/workflows
- sycl/test-e2e
- Graph
- Explicit
- RecordReplay
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 131 | | |
139 | 132 | | |
140 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
76 | 84 | | |
77 | 85 | | |
78 | 86 | | |
| |||
89 | 97 | | |
90 | 98 | | |
91 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
92 | 103 | | |
93 | 104 | | |
94 | 105 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | | - | |
658 | | - | |
659 | 653 | | |
660 | 654 | | |
661 | 655 | | |
| |||
824 | 818 | | |
825 | 819 | | |
826 | 820 | | |
| 821 | + | |
| 822 | + | |
827 | 823 | | |
828 | 824 | | |
829 | 825 | | |
| |||
833 | 829 | | |
834 | 830 | | |
835 | 831 | | |
836 | | - | |
837 | | - | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
838 | 840 | | |
839 | 841 | | |
840 | 842 | | |
| |||
855 | 857 | | |
856 | 858 | | |
857 | 859 | | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | 860 | | |
872 | 861 | | |
873 | 862 | | |
| |||
0 commit comments