From 532c480c0b79b90cc0a68f89be70cc89cd2ab3f3 Mon Sep 17 00:00:00 2001 From: Jeff Fifield Date: Thu, 9 May 2024 18:25:13 -0600 Subject: [PATCH] update workflow compiler to match (#572) Make the mlir-air compiler match the mlir-aie compiler. It's clang15 because aiecc crashed in tests when invoked from python when gcc11 was the compiler. As a side effect it builds with many fewer warnings. --- .github/workflows/buildAndTestRyzenAI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/buildAndTestRyzenAI.yml b/.github/workflows/buildAndTestRyzenAI.yml index 651106913..0aa2befd4 100644 --- a/.github/workflows/buildAndTestRyzenAI.yml +++ b/.github/workflows/buildAndTestRyzenAI.yml @@ -112,6 +112,9 @@ jobs: -DCMAKE_INSTALL_PREFIX=$PWD/../install \ -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ -DCMAKE_C_COMPILER_LAUNCHER=ccache \ + -DCMAKE_C_COMPILER=clang-15 \ + -DCMAKE_CXX_COMPILER=clang++-15 \ + -DCMAKE_ASM_COMPILER=clang-15 \ -DCMAKE_EXE_LINKER_FLAGS_INIT="-fuse-ld=lld" \ -DCMAKE_MODULE_LINKER_FLAGS_INIT="-fuse-ld=lld" \ -DCMAKE_SHARED_LINKER_FLAGS_INIT="-fuse-ld=lld" \