File tree Expand file tree Collapse file tree 9 files changed +1
-90
lines changed Expand file tree Collapse file tree 9 files changed +1
-90
lines changed Original file line number Diff line number Diff line change @@ -140,23 +140,6 @@ jobs:
140
140
cd build
141
141
ninja -v -k0
142
142
143
- - name : cache aocl
144
- id : cache-aocl
145
- uses : actions/cache@v4
146
- with :
147
- path : c:\aocl
148
- key : aocl-${{ hashFiles('.github/workflows/build-windows.yml', 'scripts/install_aocl.ps1') }}
149
-
150
- - name : install aocl
151
- if : ${{ !steps.cache-aocl.outputs.cache-hit }}
152
- run : pwsh .\scripts\install_aocl.ps1 -installdir C:\aocl
153
-
154
- - name : add aocl to path
155
- run : echo c:\aocl\hld\bin | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
156
-
157
- - name : query aocl version
158
- run : aoc -version
159
-
160
143
- name : test runtime
161
144
run : |
162
145
cd build
Original file line number Diff line number Diff line change 36
36
- ' container/opensuse-leap-15-dev/**'
37
37
- ' container/ubuntu-20.04-dev/**'
38
38
- ' container/ubuntu-22.04-dev/**'
39
- - ' scripts/install_aocl.sh'
40
39
41
40
pull_request :
42
41
paths :
47
46
- ' container/opensuse-leap-15-dev/**'
48
47
- ' container/ubuntu-20.04-dev/**'
49
48
- ' container/ubuntu-22.04-dev/**'
50
- - ' scripts/install_aocl.sh'
51
49
52
50
workflow_dispatch :
53
51
Original file line number Diff line number Diff line change @@ -36,16 +36,9 @@ RUN zypper -n update \
36
36
which \
37
37
zlib-devel \
38
38
&& zypper -n clean \
39
- && ./install_aocl.sh /opt/aocl \
40
39
&& useradd --system ${uid:+--uid "$uid" } --user-group --shell /sbin/nologin --create-home --home-dir /home/build build \
41
40
&& echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/build \
42
41
&& rm -rf "$PWD"
43
42
44
43
USER build
45
44
WORKDIR /home/build
46
-
47
- ENV PATH="/opt/aocl/hld/bin:$PATH"
48
- # Workaround for libnsl.so.1 not installed by default on the latest OpenSUSE image
49
- RUN mkdir -p /tmp/aoc && ln -snf /usr/lib64/libnsl.so.2.0.0 /tmp/aoc/libnsl.so.1
50
- ENV LD_LIBRARY_PATH="/tmp/aoc:$LD_LIBRARY_PATH"
51
- RUN aoc -version
Original file line number Diff line number Diff line change 41
41
which \
42
42
zlib-devel \
43
43
&& yum -y clean all \
44
- && ./install_aocl.sh /opt/aocl \
45
44
&& useradd --system ${uid:+--uid "$uid" } --user-group --shell /sbin/nologin --create-home --home-dir /home/build build \
46
45
&& echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/build \
47
46
&& rm -rf "$PWD"
48
47
49
48
USER build
50
49
WORKDIR /home/build
51
-
52
- ENV PATH="/opt/aocl/hld/bin:$PATH"
53
- RUN aoc -version
Original file line number Diff line number Diff line change 44
44
which \
45
45
zlib-devel \
46
46
&& yum -y clean all \
47
- && ./install_aocl.sh /opt/aocl \
48
47
&& useradd --system ${uid:+--uid "$uid" } --user-group --shell /sbin/nologin --create-home --home-dir /home/build build \
49
48
&& echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/build \
50
49
&& rm -rf "$PWD"
51
50
52
51
USER build
53
52
WORKDIR /home/build
54
-
55
- ENV PATH="/opt/aocl/hld/bin:$PATH"
56
- RUN aoc -version
Original file line number Diff line number Diff line change @@ -32,13 +32,9 @@ RUN apt-get -y update \
32
32
sudo \
33
33
zlib1g-dev \
34
34
&& apt-get -y clean \
35
- && ./install_aocl.sh /opt/aocl \
36
35
&& useradd --system ${uid:+--uid "$uid" } --user-group --shell /sbin/nologin --create-home --home-dir /home/build build \
37
36
&& echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/build \
38
37
&& rm -rf "$PWD"
39
38
40
39
USER build
41
40
WORKDIR /home/build
42
-
43
- ENV PATH="/opt/aocl/hld/bin:$PATH"
44
- RUN aoc -version
Original file line number Diff line number Diff line change @@ -40,14 +40,12 @@ RUN apt-get -y update \
40
40
sudo \
41
41
zlib1g-dev \
42
42
&& apt-get -y clean \
43
- && ./install_aocl.sh /opt/aocl \
44
43
&& useradd --system ${uid:+--uid "$uid" } --user-group --shell /sbin/nologin --create-home --home-dir /home/build build \
45
44
&& echo 'build ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/build \
46
45
&& rm -rf "$PWD"
47
46
48
47
USER build
49
48
WORKDIR /home/build
50
49
51
- ENV PATH="/opt/aocl/hld/bin:/usr/lib/llvm-13/bin:$PATH"
52
- RUN aoc -version
50
+ ENV PATH="/usr/lib/llvm-13/bin:$PATH"
53
51
RUN clang-format --version
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments