We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4951c46 commit 6737c75Copy full SHA for 6737c75
paddle/scripts/docker/build.sh
@@ -14,13 +14,16 @@ fi
14
DOCKERFILE_GPU_ENV=""
15
if [[ ${WITH_GPU:-OFF} == 'ON' ]]; then
16
DOCKERFILE_GPU_ENV="ENV LD_LIBRARY_PATH /usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}"
17
+
18
+ # for cmake to find cudnn
19
+ ln -s /usr/lib/x86_64-linux-gnu/libcudnn.so /usr/lib/libcudnn.so
20
fi
21
22
mkdir -p /paddle/build
23
cd /paddle/build
24
25
# build script will not fail if *.deb does not exist
-rm *.deb || true
26
+rm *.deb 2>/dev/null || true
27
28
cmake .. \
29
-DCMAKE_BUILD_TYPE=Release \
0 commit comments