From c267c7b54966803ffd8c185234dc4cedff962e75 Mon Sep 17 00:00:00 2001 From: Erika Hunhoff Date: Tue, 29 Oct 2024 11:38:06 -0600 Subject: [PATCH] Fix CI error for buildAndTestRyzenAI Examples (#1888) --- .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