File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ python/paddle/v2/fluid/tests/book/image_classification_resnet.inference.model/
5
5
python /paddle /v2 /fluid /tests /book /image_classification_vgg.inference.model /
6
6
python /paddle /v2 /fluid /tests /book /label_semantic_roles.inference.model /
7
7
* .DS_Store
8
+ * .vs
8
9
build /
9
10
build_doc /
10
11
* .user
@@ -15,6 +16,7 @@ build_doc/
15
16
.cproject
16
17
.pydevproject
17
18
.settings /
19
+ CMakeSettings.json
18
20
Makefile
19
21
.test_env /
20
22
third_party /
Original file line number Diff line number Diff line change @@ -56,6 +56,10 @@ if(NOT CMAKE_CROSSCOMPILING)
56
56
set (SIMD_FLAG ${SSE3_FLAG} )
57
57
endif ()
58
58
endif ()
59
+ if (UNIX AND NOT APPLE )
60
+ # except apple from nix*Os family
61
+ set (LINUX TRUE )
62
+ endif (UNIX AND NOT APPLE )
59
63
60
64
if (NOT WITH_GOLANG )
61
65
add_definitions (-DPADDLE_WITHOUT_GOLANG )
Original file line number Diff line number Diff line change @@ -97,10 +97,11 @@ if(APPLE)
97
97
if (NOT INSTALL_NAME_TOOL_EXECUTABLE )
98
98
message (FATAL_ERROR "install_name_tool not found, please check.\n " )
99
99
endif ()
100
- else (APPLE )
100
+ endif ()
101
+ if (LINUX )
101
102
find_program (PATCHELF_EXECUTABLE patchelf )
102
103
if (NOT PATCHELF_EXECUTABLE )
103
104
message (FATAL_ERROR "patchelf not found, please install it.\n "
104
105
"For Ubuntu, the command is: apt-get install -y patchelf." )
105
106
endif ()
106
- endif (APPLE )
107
+ endif (LINUX )
You can’t perform that action at this time.
0 commit comments