提交 560dfc87 编写于 作者: C chenzhiyu

fix format

上级 f162d96c
......@@ -26,7 +26,7 @@ limitations under the License. */
#endif
#ifndef PADDLE_WITH_MUSL
#if defined(__FLT_MAX__)
#define FLT_MAX __FLT_MAX__
#endif // __FLT_MAX__
#if defined(__FLT_MAX__)
#define FLT_MAX __FLT_MAX__
#endif // __FLT_MAX__
#endif
......@@ -25,7 +25,7 @@
#include "glog/logging.h"
#if !defined(_WIN32)
#include <dlfcn.h> // dladdr
#include <dlfcn.h> // dladdr
#include <sys/stat.h>
#include <sys/time.h>
#include <algorithm> // std::accumulate
......
FROM python:3.7-alpine3.10
RUN apk add --no-cache --force-overwrite\
g++ gfortran make cmake patchelf\
git \
linux-headers \
libjpeg-turbo-dev \
lapack-dev openblas-dev
#RUN pip3 install scikit-build\
# numpy pandas scipy \
# opencv
\ No newline at end of file
......@@ -208,9 +208,9 @@ def get_libc_ver():
ldd_musl = run_shell_command("ldd 2>&1 | awk '/Version/{print $NF}'")
if ldd_musl is not None:
return ("musl", ldd_musl)
return (None, None)
def less_than_ver(a, b):
if a is None or b is None:
return False
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册