From 0c0cb449bc0beeb5ac6d18f36a071ad8408a7e0a Mon Sep 17 00:00:00 2001 From: Erika Hunhoff Date: Tue, 29 Oct 2024 09:56:24 -0600 Subject: [PATCH] Hopefully a fix for the ninja build error in CI --- .github/workflows/buildAndTestRyzenAI.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/buildAndTestRyzenAI.yml b/.github/workflows/buildAndTestRyzenAI.yml index 8fd09812de..e6ca743112 100644 --- a/.github/workflows/buildAndTestRyzenAI.yml +++ b/.github/workflows/buildAndTestRyzenAI.yml @@ -139,6 +139,12 @@ jobs: source utils/quick_setup.sh # quick_setup changes directory to programming_examples, so we need to return to mlir-aie cd .. + + # I have no clue why but the system clock on GHA containers is like 12 hours ahead. + # That means wheels have file with time stamps in the future which makes ninja loop + # forever when configuring. Set the time to some arbitrary stamp in the past just to be safe. + find my_install/mlir -exec touch -a -m -t 201108231405.14 {} \; + ./utils/build-mlir-aie-from-wheels.sh ./my_install/mlir build install ./my_install/llvm-aie # build is created by the build-mlir-aie-from-wheels.sh script