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
224d6a69
Unverified
Commit
224d6a69
authored
Aug 01, 2023
by
Muhammed Fatih BALIN
Committed by
GitHub
Aug 01, 2023
Browse files
[Dev] Resolve compile issue with gcc 11.3.0 (#6072)
parent
d2f192f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
cmake/modules/CUDA.cmake
cmake/modules/CUDA.cmake
+1
-1
No files found.
CMakeLists.txt
View file @
224d6a69
...
...
@@ -86,7 +86,7 @@ if(MSVC)
else
(
MSVC
)
include
(
CheckCXXCompilerFlag
)
set
(
CMAKE_C_FLAGS
"-O2 -Wall -fPIC
${
CMAKE_C_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"-O2 -Wall -fPIC
-std=c++14
${
CMAKE_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"-O2 -Wall -fPIC
${
CMAKE_CXX_FLAGS
}
"
)
if
(
NOT APPLE
)
set
(
CMAKE_SHARED_LINKER_FLAGS
"-Wl,--warn-common
${
CMAKE_SHARED_LINKER_FLAGS
}
"
)
endif
(
NOT APPLE
)
...
...
cmake/modules/CUDA.cmake
View file @
224d6a69
...
...
@@ -248,7 +248,7 @@ macro(dgl_config_cuda out_variable)
list
(
APPEND CUDA_NVCC_FLAGS
${
NVCC_FLAGS_ARCH
}
)
# 2. flags in third_party/moderngpu
list
(
APPEND CUDA_NVCC_FLAGS
"--expt-extended-lambda;-Wno-deprecated-declarations"
)
list
(
APPEND CUDA_NVCC_FLAGS
"--expt-extended-lambda;-Wno-deprecated-declarations
;-std=c++14
"
)
message
(
STATUS
"CUDA_NVCC_FLAGS:
${
CUDA_NVCC_FLAGS
}
"
)
...
...
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