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
1313ARG  CLEAR_LINUX_VERSION=
1414
1515RUN  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 
1717#  Fetch dependencies and source code
18- ARG  OPAE_RELEASE=1.4 .0-1 
18+ ARG  OPAE_RELEASE=1.5 .0-2 
1919
2020#  workaround for a swupd failure discussed in https://github.com/clearlinux/distribution/issues/831
2121RUN  ldconfig
2222RUN  mkdir -p /usr/src/opae && \
2323    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
2625
2726#  Build OPAE
28- ADD  0001-OPAE-in-containers-don-t-enumerate-missing-device.patch /usr/src/opae/opae-sdk-${OPAE_RELEASE}
2927RUN  cd /usr/src/opae/opae-sdk-${OPAE_RELEASE} && \
30-     patch -p1 < 0001-OPAE-in-containers-don-t-enumerate-missing-device.patch && \
3128    mkdir build && \
3229    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 ..  && \
3431    make xfpga nlb0 nlb3
3532
3633#  Install clean os-core and libstdcpp bundle in target directory
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments