Skip to content

Commit

Permalink
Add ARM ACFL build to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
insertinterestingnamehere committed Nov 2, 2023
1 parent 25adae1 commit 01e5dd3
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

version: 2.1

jobs:
Expand Down Expand Up @@ -93,6 +94,46 @@ 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 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/gcc-12.2.0_Ubuntu-22.04.deb ./acfl/arm-linux-compiler-23.10_Ubuntu-22.04.deb
rm -rf acfl
export PATH=$PATH:/opt/arm/arm-linux-compiler-23.10_Ubuntu-22.04/bin
armclang -v
- run: |
export PATH=$PATH:/opt/arm/arm-linux-compiler-23.10_Ubuntu-22.04/bin
./autogen.sh
./configure --enable-picky --with-scheduler=<< parameters.scheduler >> -with-topology=<< parameters.topology >>
make -j2
- run:
command: |
export PATH=$PATH:/opt/arm/arm-linux-compiler-23.10_Ubuntu-22.04/bin
timeout --foreground -k 10s 4m make check
no_output_timeout: 30s

workflows:
build_and_test:
jobs:
Expand All @@ -112,4 +153,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]

0 comments on commit 01e5dd3

Please sign in to comment.