File tree Expand file tree Collapse file tree 2 files changed +4
-105
lines changed Expand file tree Collapse file tree 2 files changed +4
-105
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,24 +13,21 @@ FROM ${CLEAR_LINUX_BASE} as builder
13
13
ARG CLEAR_LINUX_VERSION=
14
14
15
15
RUN swupd update --no-boot-update ${CLEAR_LINUX_VERSION} && \
16
- swupd bundle-add wget c-basic devpkg-json-c devpkg-util-linux devpkg-hwloc doxygen patch
16
+ swupd bundle-add wget c-basic devpkg-json-c devpkg-util-linux devpkg-hwloc devpkg-tbb git
17
17
# Fetch dependencies and source code
18
- ARG OPAE_RELEASE=1.4 .0-1
18
+ ARG OPAE_RELEASE=1.5 .0-2
19
19
20
20
# workaround for a swupd failure discussed in https://github.com/clearlinux/distribution/issues/831
21
21
RUN ldconfig
22
22
RUN mkdir -p /usr/src/opae && \
23
23
cd /usr/src/opae && \
24
- wget https://github.com/OPAE/opae-sdk/archive/${OPAE_RELEASE}.tar.gz && \
25
- tar xf *.tar.gz
24
+ wget -q https://github.com/OPAE/opae-sdk/archive/${OPAE_RELEASE}.tar.gz -O- | tar -zx
26
25
27
26
# Build OPAE
28
- ADD 0001-OPAE-in-containers-don-t-enumerate-missing-device.patch /usr/src/opae/opae-sdk-${OPAE_RELEASE}
29
27
RUN cd /usr/src/opae/opae-sdk-${OPAE_RELEASE} && \
30
- patch -p1 < 0001-OPAE-in-containers-don-t-enumerate-missing-device.patch && \
31
28
mkdir build && \
32
29
cd build && \
33
- cmake .. -DBUILD_ASE=0 -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_SKIP_RPATH=true && \
30
+ cmake -DCMAKE_BUILD_TYPE=Release -DOPAE_BUILD_LIBOPAE_PY=OFF .. && \
34
31
make xfpga nlb0 nlb3
35
32
36
33
# Install clean os-core and libstdcpp bundle in target directory
You can’t perform that action at this time.
0 commit comments