From 7f17543b0ee69013a9b978763c0ce27bd9621d01 Mon Sep 17 00:00:00 2001 From: Ian Henriksen Date: Thu, 2 Nov 2023 14:00:00 -0600 Subject: [PATCH] Add ARM ACFL build to CI. --- .circleci/config.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6f38e7399..4a04284cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -93,6 +93,42 @@ jobs: command: timeout --foreground -k 10s 4m make check no_output_timeout: 30s + arm_acfl: + parameters: + scheduler: + type: string + topology: + type: string + machine: + image: ubuntu-2204:2023.10.1 + resource_class: arm.medium + environment: + CC: armclang + CXX: armclang++ + steps: + - checkout + - run: | + sudo apt-get update -y + sudo apt-get install -y gcc-12 g++-12 + sudo apt-get install -y autoconf automake libtool + sudo apt-get install -y hwloc libhwloc-dev + wget -O acfl.tar https://developer.arm.com/-/media/Files/downloads/hpc/arm-compiler-for-linux/23-10/arm-compiler-for-linux_23.10_Ubuntu-22.04_aarch64.tar + tar -vxf acfl.tar + ls + cat arm-compiler-for-linux_23.10_Ubuntu-22.04/license_terms/license_agreement.txt + ./arm-compiler-for-linux_23.10_Ubuntu-22.04/arm-compiler-for-linux_23.10_Ubuntu-22.04.sh -a -f -s acfl + ls acfl + rm acfl.tar + sudo apt install -y acfl/arm-linux-compiler-23.10_Ubuntu-22.04.deb + armclang -v + - run: | + ./autogen.sh + ./configure --enable-picky --with-scheduler=<< parameters.scheduler >> -with-topology=<< parameters.topology >> + make -j2 + - run: + command: timeout --foreground -k 10s 4m make check + no_output_timeout: 30s + workflows: build_and_test: jobs: @@ -112,4 +148,9 @@ workflows: scheduler: [nemesis, sherwood, distrib] topology: ['no', binders, hwloc] sanitizer: [address, memory, thread, undefined] + - arm_acfl: + matrix: + parameters: + scheduler: [nemesis, sherwood, distrib] + topology: ['no', binders, hwloc]