File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 5757 cache-artifacts : " true"
5858 cache-packages : " true"
5959 cache-compiled : " true"
60+ - name : " Export environment variables"
61+ # Starting from graphcore/poplar:3.3.0 some environment variables like `CPATH` and
62+ # `LD_LIBRARY_PATH`, which we need for building the bindings, are only set with the
63+ # `bash` shell, while GHA uses by default `sh` for steps inside containers. So we
64+ # need to start a step with `shell: bash` and re-export the relevant variables for
65+ # the following steps.
66+ shell : bash
67+ run : |
68+ echo "PATH=${PATH}" >> "${GITHUB_ENV}"
69+ echo "CPATH=${CPATH}" >> "${GITHUB_ENV}"
70+ echo "LIBRARY_PATH=${LIBRARY_PATH}" >> "${GITHUB_ENV}"
71+ echo "LD_LIBRARY_PATH=${LD_LIBRARY_PATH}" >> "${GITHUB_ENV}"
72+ echo "POPLAR_SDK_ENABLED=${POPLAR_SDK_ENABLED}" >> "${GITHUB_ENV}"
6073 - uses : julia-actions/julia-buildpkg@v1
6174 env :
6275 CXX : g++
You can’t perform that action at this time.
0 commit comments