It /should/ be possible to do something like this in the Dockerfile directly (after moving make-pkgconfig into .devcontainer/ and optionally symlinking from Tools/):
ARG HYLO_LLVM_BUILD_TYPE=MinSizeRel
ADD make-pkgconfig.sh /tmp
RUN <<EOT bash
set -ex
set -o pipefail
PATH="/opt/llvm-\${HYLO_LLVM_BUILD_TYPE}/bin:\$PATH" \
/tmp/make-pkgconfig.sh /usr/local/lib/pkgconfig/llvm.pc > /dev/null
rm /tmp/make-pkgconfig.sh
EOT
It /should/ be possible to do something like this in the Dockerfile directly (after moving
make-pkgconfig
into.devcontainer/
and optionally symlinking fromTools/
):but it hasn't worked so far