File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 18
18
matrix :
19
19
include :
20
20
- docker_image : graphcore/poplar:3.2.0-ubuntu-20.04-20230314
21
+ - docker_image : graphcore/poplar:3.3.0-ubuntu-20.04-20230703
21
22
steps :
22
23
- name : " Install, g++, jq"
23
24
# g++ is needed to build the wrapper, jq for
32
33
with :
33
34
version : " 1.7"
34
35
- uses : julia-actions/cache@v1
36
+ - name : " Export environment variables"
37
+ # Starting from graphcore/poplar:3.3.0 some environment variables like `CPATH` and
38
+ # `LD_LIBRARY_PATH`, which we need for building the bindings, are only set with the
39
+ # `bash` shell, while GHA uses by default `sh` for steps inside containers. So we
40
+ # need to start a step with `shell: bash` and re-export the relevant variables for
41
+ # the following steps.
42
+ shell : bash
43
+ run : |
44
+ echo "PATH=${PATH}" >> "${GITHUB_ENV}"
45
+ echo "CPATH=${CPATH}" >> "${GITHUB_ENV}"
46
+ echo "LIBRARY_PATH=${LIBRARY_PATH}" >> "${GITHUB_ENV}"
47
+ echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> "${GITHUB_ENV}"
48
+ echo "POPLAR_SDK_ENABLED=${POPLAR_SDK_ENABLED}" >> "${GITHUB_ENV}"
35
49
- name : Instantiate wrapper generation environment
36
50
working-directory : ${{ github.workspace }}/deps
37
51
run : |
54
68
julia --project=. --color=yes build_tarballs.jl --verbose
55
69
- uses : actions/upload-artifact@v4
56
70
with :
57
- name : products
71
+ name : products-${{ matrix.docker_image }}
58
72
path : ${{ github.workspace }}/deps/bb_recipe/products
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
7
7
libcxxwrap_julia_jll = " 3eaa8342-bff7-56a5-9981-c04077f7cee7"
8
8
9
9
[compat ]
10
- Clang = " 0.14, 0.17.4"
10
+ Clang = " 0.14, 0.17.4, 0.18 "
11
11
JSON = " 0.21.4"
12
12
Pkg = " 1"
13
13
Scratch = " 1.1"
You can’t perform that action at this time.
0 commit comments