From d94d6800fa0af958d6fdb1bec627924e3693bfc8 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Thu, 16 Sep 2021 18:39:53 +0000 Subject: [PATCH] Bring CI back to life. This brings back `check-npcomp-all` and the refbackend e2e tests coverage. --- .github/workflows/buildAndTest.yml | 5 ++--- python/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildAndTest.yml b/.github/workflows/buildAndTest.yml index 7a6a3dc80..3b5ae5fc9 100644 --- a/.github/workflows/buildAndTest.yml +++ b/.github/workflows/buildAndTest.yml @@ -44,12 +44,11 @@ jobs: -DPython3_EXECUTABLE=$(which python) \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_TARGETS_TO_BUILD=host - ninja - ninja check-npcomp check-frontends-pytorch + ninja check-npcomp-all - name: Refbackend integration tests run: | cd $GITHUB_WORKSPACE - export PYTHONPATH="$GITHUB_WORKSPACE/build/python_packages/npcomp_core:$GITHUB_WORKSPACE/build/python_packages/npcomp_torch" + export PYTHONPATH="$GITHUB_WORKSPACE/build/python_packages/npcomp_core:$GITHUB_WORKSPACE/build/python_packages/npcomp_torch:$GITHUB_WORKSPACE/build/python_packages/torch_mlir:$GITHUB_WORKSPACE/build/python_packages/torch_mlir_dialects" python -m frontends.pytorch.e2e_testing.torchscript.main --config=refbackend # build_wheels: diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index b73c0df94..7ac233336 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -113,3 +113,5 @@ add_mlir_python_modules(NPCOMPPythonModules COMMON_CAPI_LINK_LIBS NPCOMPPythonCAPI ) + +add_dependencies(NPCOMPPythonModules NPCOMPPythonResources)