File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export PATH=/cvmfs/sft.cern.ch/lcg/contrib/CMake/3.7.0/Linux-x86_64/bin/:${PATH}
1515# some really bad ways to get info out of scram
1616PYTHON_LIBDIR=$( scram tool info python | grep " LIBDIR=" | sed ' s/LIBDIR=//' )
1717PYTHON_INCLUDE=$( scram tool info python | grep " INCLUDE=" | sed ' s/INCLUDE=//' )
18+ export OPENSSL_ROOT_DIR=$( scram tool info openssl | grep " OPENSSL_BASE=" | sed ' s/OPENSSL_BASE=//' )
1819
1920# download and build tensor-rt-inference server
2021git clone ${ACCESS_GITHUB} NVIDIA/tensorrt-inference-server.git -b r19.10
@@ -34,7 +35,7 @@ cd opencv/
3435patch -p1 < $CMSSW_BASE /src/SonicCMS/TensorRT/patch.diff
3536mkdir build
3637cd build
37- cmake -D CMAKE_BUILD_TYPE=Release ../ -DPYTHON_LIBRARY=$PYTHON_LIBDIR -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE
38+ cmake -D CMAKE_BUILD_TYPE=Release ../ -DPYTHON_LIBRARY=$PYTHON_LIBDIR -DPYTHON_INCLUDE_DIR=$PYTHON_INCLUDE -DOPENSSL_ROOT_DIR= $OPENSSL_ROOT_DIR
3839make -j $CORES
3940
4041cd ../../
You can’t perform that action at this time.
0 commit comments