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
Torchaudio
Commits
cd5a1247
Unverified
Commit
cd5a1247
authored
Feb 08, 2021
by
moto
Committed by
GitHub
Feb 08, 2021
Browse files
Add -Wall back (#1246)
parent
2c8aad97
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+2
-2
No files found.
CMakeLists.txt
View file @
cd5a1247
...
@@ -53,8 +53,8 @@ option(BUILD_PYTHON_EXTENSION "Build Python extension" OFF)
...
@@ -53,8 +53,8 @@ option(BUILD_PYTHON_EXTENSION "Build Python extension" OFF)
find_package
(
Torch REQUIRED
)
find_package
(
Torch REQUIRED
)
#
Set
-D_GLIBCXX_USE_CXX11_ABI
for third party builds
#
TORCH_CXX_FLAGS contains the same
-D_GLIBCXX_USE_CXX11_ABI
value as PyTorch
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
${
TORCH_CXX_FLAGS
}
"
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-Wall
${
TORCH_CXX_FLAGS
}
"
)
add_subdirectory
(
third_party
)
add_subdirectory
(
third_party
)
add_subdirectory
(
torchaudio/csrc
)
add_subdirectory
(
torchaudio/csrc
)
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