Skip to content

Conversation

@mthrok
Copy link
Contributor

@mthrok mthrok commented Oct 27, 2020

Moved to #1068

CMakeLists.txt Outdated
set(CMAKE_CXX_STANDARD 14 CACHE STRING "The C++ standard whose features are requested to build this target.")

find_package(Torch REQUIRED)
# TORCH_CXX_FLAGS contains proper _GLIBCXX_USE_CXX11_ABI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add a reference to the issue and a bit more color

set(envs "PKG_CONFIG_PATH=${INSTALL_DIR}/lib/pkgconfig" "LDFLAGS=-L${INSTALL_DIR}/lib $ENV{LDFLAGS}" "CPPFLAGS=-I${INSTALL_DIR}/include $ENV{CPPFLAGS}" "CXXFLAGS=${TORCH_CXX_FLAGS} $ENV{CXXFLAGS}")


ExternalProject_Add(mad_
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a follow-up, we could eventually use submodules

@mthrok
Copy link
Contributor Author

mthrok commented Dec 4, 2020

Closing as the commit history gets very convoluted

@mthrok mthrok closed this Dec 4, 2020
@mthrok mthrok deleted the libtorchaudio-pr branch December 4, 2020 20:40
mpc001 pushed a commit to mpc001/audio that referenced this pull request Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants