Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libarb is has been rolled into libflint-arb. CMakeFileList.txt needs to be updated. #317

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ endif()
# Optional dependency on Arb.
if(MPPP_WITH_ARB)
find_package(mp++_FLINT REQUIRED)
find_package(mp++_Arb REQUIRED)
# ARB has been merged into FLINT.
# find_package(mp++_Arb REQUIRED)

# Check support for certain Arb functions.
set(CMAKE_REQUIRED_INCLUDES "${MPPP_ARB_INCLUDE_DIR}")
Expand All @@ -374,7 +375,8 @@ if(MPPP_WITH_ARB)
unset(CMAKE_REQUIRED_INCLUDES)
unset(CMAKE_REQUIRED_LIBRARIES)

target_link_libraries(mp++ PRIVATE mp++::Arb mp++::FLINT)
#target_link_libraries(mp++ PRIVATE mp++::Arb mp++::FLINT)
target_link_libraries(mp++ PRIVATE mp++::FLINT)
set(MPPP_ENABLE_ARB "#define MPPP_WITH_ARB")
endif()

Expand Down
10 changes: 5 additions & 5 deletions src/detail/arb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
#include <flint/flint.h>
#include <flint/fmpz.h>

#include <arb.h>
#include <arb_hypgeom.h>
#include <arf.h>
#include <mag.h>
#include <flint/arb.h>
#include <flint/arb_hypgeom.h>
#include <flint/arf.h>
#include <flint/mag.h>

#if defined(MPPP_WITH_MPC)

#include <acb.h>
#include <flint/acb.h>

#endif

Expand Down
Loading