Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
6dce19d8
Unverified
Commit
6dce19d8
authored
Jan 11, 2022
by
Quan (Andy) Gan
Committed by
GitHub
Jan 11, 2022
Browse files
[Build] Fix compiler crashes when system's libuv-devel is older than required (#3640)
parent
41124b32
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
6dce19d8
...
@@ -36,6 +36,7 @@ dgl_option(USE_S3 "Build with S3 support" OFF)
...
@@ -36,6 +36,7 @@ dgl_option(USE_S3 "Build with S3 support" OFF)
dgl_option
(
USE_HDFS
"Build with HDFS support"
OFF
)
# Set env HADOOP_HDFS_HOME if needed
dgl_option
(
USE_HDFS
"Build with HDFS support"
OFF
)
# Set env HADOOP_HDFS_HOME if needed
dgl_option
(
REBUILD_LIBXSMM
"Clean LIBXSMM build cache at every build"
OFF
)
# Set env HADOOP_HDFS_HOME if needed
dgl_option
(
REBUILD_LIBXSMM
"Clean LIBXSMM build cache at every build"
OFF
)
# Set env HADOOP_HDFS_HOME if needed
dgl_option
(
USE_EPOLL
"Build with epoll for socket communicator"
OFF
)
dgl_option
(
USE_EPOLL
"Build with epoll for socket communicator"
OFF
)
dgl_option
(
TP_BUILD_LIBUV
"Build libuv together with tensorpipe (only impacts Linux)"
ON
)
# Set debug compile option for gdb, only happens when -DCMAKE_BUILD_TYPE=DEBUG
# Set debug compile option for gdb, only happens when -DCMAKE_BUILD_TYPE=DEBUG
if
(
NOT MSVC
)
if
(
NOT MSVC
)
...
@@ -254,7 +255,6 @@ endif((NOT MSVC) AND USE_LIBXSMM)
...
@@ -254,7 +255,6 @@ endif((NOT MSVC) AND USE_LIBXSMM)
if
(
NOT MSVC
)
if
(
NOT MSVC
)
# Only build tensorpipe on linux
# Only build tensorpipe on linux
string
(
REPLACE
"-pedantic"
""
CMAKE_C_FLAGS
${
CMAKE_C_FLAGS
}
)
string
(
REPLACE
"-pedantic"
""
CMAKE_C_FLAGS
${
CMAKE_C_FLAGS
}
)
set
(
TP_BUILD_LIBUV ON
)
set
(
TP_STATIC_OR_SHARED STATIC
)
set
(
TP_STATIC_OR_SHARED STATIC
)
add_subdirectory
(
third_party/tensorpipe
)
add_subdirectory
(
third_party/tensorpipe
)
list
(
APPEND DGL_LINKER_LIBS tensorpipe
)
list
(
APPEND DGL_LINKER_LIBS tensorpipe
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment