diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2018-05-31 08:48:39 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2018-05-31 13:58:11 +0200 |
commit | 4d74819f0c1a77975165fa8bb96c498ccacdbb7b (patch) | |
tree | 9eb8ff7bbbf6781cb50b3a4db2739b5ee0b30921 /Wrappers/Python | |
parent | cddbd886a40889e9accbd56c7fbda15e6f0d9171 (diff) | |
download | regularization-4d74819f0c1a77975165fa8bb96c498ccacdbb7b.tar.gz regularization-4d74819f0c1a77975165fa8bb96c498ccacdbb7b.tar.bz2 regularization-4d74819f0c1a77975165fa8bb96c498ccacdbb7b.tar.xz regularization-4d74819f0c1a77975165fa8bb96c498ccacdbb7b.zip |
removed dependency on boost
Diffstat (limited to 'Wrappers/Python')
-rw-r--r-- | Wrappers/Python/CMakeLists.txt | 16 | ||||
-rw-r--r-- | Wrappers/Python/conda-recipe/meta.yaml | 5 |
2 files changed, 4 insertions, 17 deletions
diff --git a/Wrappers/Python/CMakeLists.txt b/Wrappers/Python/CMakeLists.txt index 7833b54..fa1a30b 100644 --- a/Wrappers/Python/CMakeLists.txt +++ b/Wrappers/Python/CMakeLists.txt @@ -15,13 +15,6 @@ message("CIL_VERSION ${CIL_VERSION}") find_package(PythonInterp REQUIRED) if (PYTHONINTERP_FOUND) message ("Current Python " ${PYTHON_VERSION_STRING} " found " ${PYTHON_EXECUTABLE}) - if (PYTHON_VERSION_MAJOR EQUAL "3") - set (BOOST_PYTHON "python3") - set (BOOST_NUMPY "numpy3") - else() - set (BOOST_PYTHON "python") - set (BOOST_NUMPY "numpy") - endif() endif() @@ -33,21 +26,16 @@ message("CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS}") set(CMAKE_BUILD_TYPE "Release") if(WIN32) - set (FLAGS "/DWIN32 /EHsc /DBOOST_ALL_NO_LIB /openmp /DCCPiCore_EXPORTS") + set (FLAGS "/DWIN32 /EHsc /openmp /DCCPiCore_EXPORTS") set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:MSVCRT.lib") - set (EXTRA_LIBRARIES - #${Boost_LIBRARIES} - #"tiff" - ) + set (EXTRA_LIBRARIES) message("library lib: ${LIBRARY_LIB}") elseif(UNIX) set (FLAGS "-fopenmp -O2 -funsigned-char -Wall -Wl,--no-undefined -DCCPiReconstructionIterative_EXPORTS -std=c++0x") set (EXTRA_LIBRARIES - #${Boost_LIBRARIES} - #"tiff" "gomp" ) endif() diff --git a/Wrappers/Python/conda-recipe/meta.yaml b/Wrappers/Python/conda-recipe/meta.yaml index 5336d14..2d79984 100644 --- a/Wrappers/Python/conda-recipe/meta.yaml +++ b/Wrappers/Python/conda-recipe/meta.yaml @@ -14,10 +14,9 @@ requirements: - python - numpy x.x - setuptools - #- boost ==1.64.0 - #- boost-cpp ==1.64.0 - cython - cil_regulariser + - vc 14 # [win and py36] - vc 14 # [win and py35] - vc 9 # [win and py27] - cmake @@ -25,8 +24,8 @@ requirements: run: - python - numpy x.x - #- boost ==1.64 - cil_regulariser + - vc 14 # [win and py36] - vc 14 # [win and py35] - vc 9 # [win and py27] |