Skip to content

Commit 88599e1

Browse files
committed
container: install clang-format from Ubuntu
Signed-off-by: Peter Colberg <[email protected]> (cherry picked from commit 11c8f4f)
1 parent e20868e commit 88599e1

File tree

4 files changed

+3
-52
lines changed

4 files changed

+3
-52
lines changed

.github/workflows/container.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ on:
4040
- 'container/opensuse-leap-15-dev/**'
4141
- 'container/ubuntu-18.04-dev/**'
4242
- 'container/ubuntu-20.04-dev/**'
43-
- 'container/ubuntu-20.04-clang/**'
4443
- 'container/ubuntu-22.04-dev/**'
4544
- 'scripts/install_aocl.sh'
4645

@@ -53,7 +52,6 @@ on:
5352
- 'container/opensuse-leap-15-dev/**'
5453
- 'container/ubuntu-18.04-dev/**'
5554
- 'container/ubuntu-20.04-dev/**'
56-
- 'container/ubuntu-20.04-clang/**'
5755
- 'container/ubuntu-22.04-dev/**'
5856
- 'scripts/install_aocl.sh'
5957

@@ -75,7 +73,6 @@ jobs:
7573
- opensuse-leap-15-dev
7674
- ubuntu-18.04-dev
7775
- ubuntu-20.04-dev
78-
- ubuntu-20.04-clang
7976
- ubuntu-22.04-dev
8077

8178
env:

container/ubuntu-20.04-clang/Dockerfile

Lines changed: 0 additions & 48 deletions
This file was deleted.
-2.17 KB
Binary file not shown.

container/ubuntu-22.04-dev/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apt-get -y update \
2525
&& DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade \
2626
build-essential \
2727
ca-certificates \
28+
clang-format-13 \
2829
cmake \
2930
curl \
3031
git \
@@ -45,5 +46,6 @@ RUN apt-get -y update \
4546
USER build
4647
WORKDIR /home/build
4748

48-
ENV PATH="/opt/aocl/hld/bin:$PATH"
49+
ENV PATH="/opt/aocl/hld/bin:/usr/lib/llvm-13/bin:$PATH"
4950
RUN aoc -version
51+
RUN clang-format --version

0 commit comments

Comments
 (0)