diff --git a/.ci/docker/common/install_clang.sh b/.ci/docker/common/install_clang.sh index 3713ca71c8e..1138db27262 100755 --- a/.ci/docker/common/install_clang.sh +++ b/.ci/docker/common/install_clang.sh @@ -7,6 +7,8 @@ install_ubuntu() { apt-get install -y --no-install-recommends clang-"$CLANG_VERSION" apt-get install -y --no-install-recommends llvm-"$CLANG_VERSION" + # Also require LLD linker from llvm + apt-get install -y lld # Use update-alternatives to make this version the default update-alternatives --install /usr/bin/clang clang /usr/bin/clang-"$CLANG_VERSION" 50 diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index e54cff092f1..e150ebbbb20 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -19,6 +19,7 @@ jobs: runner: linux.2xlarge docker-image: executorch-ubuntu-22.04-clang12 fetch-depth: 0 + submodules: 'true' ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} script: | WORKSPACE=$(pwd) @@ -28,6 +29,7 @@ jobs: ln -s "${WORKSPACE}" executorch # Install executorch source executorch/install.sh + popd # Just print out the list of packages for debugging pip list