Skip to content

Commit

Permalink
Switch back to lit.py from submodule.
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottTodd committed Feb 1, 2024
1 parent 82be085 commit 92d1355
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
# description: "Run ID for the build_package.yml workflow that triggered this workflow"
# required: true

# TODO(scotttodd): switch to runtime submodules only
# * Use a Docker image with `lit` installed (`python -m pip install lit`)
# * `run: ./build_tools/scripts/git/update_runtime_submodules.sh`

jobs:
linux_x86_64_cpu:
name: Test on Linux (x86_64) CPU
Expand All @@ -45,5 +49,6 @@ jobs:
- name: "Testing package"
run: |
./build_tools/github_actions/docker_run.sh \
--env LLVM_EXTERNAL_LIT=$PWD/third_party/llvm-project/llvm/utils/lit/lit.py \
gcr.io/iree-oss/base@sha256:61e9aae211007dbad95e1f429e9e5121fd5968c204791038424979c21146cf75 \
./build_tools/pkgci/test_package.sh iree-dist
3 changes: 0 additions & 3 deletions build_tools/pkgci/test_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ set -x
PACKAGE_DIR="$1"
SOURCE_DIR_ROOT=$(git rev-parse --show-toplevel)
TEST_BUILD_DIR="${TEST_BUILD_DIR:-build-tests}"

# TODO(scotttodd): include this in the Dockerfile
python -m pip install lit
LLVM_EXTERNAL_LIT="${LLVM_EXTERNAL_LIT:-$(which lit)}"

# Respect user settings, but default to as many test actions as we have cores.
Expand Down

0 comments on commit 92d1355

Please sign in to comment.