aboutsummaryrefslogtreecommitdiff
path: root/ports/shogun
diff options
context:
space:
mode:
Diffstat (limited to 'ports/shogun')
-rw-r--r--ports/shogun/CONTROL5
-rw-r--r--ports/shogun/portfile.cmake11
2 files changed, 5 insertions, 11 deletions
diff --git a/ports/shogun/CONTROL b/ports/shogun/CONTROL
index 5f46ded2a..580a8be31 100644
--- a/ports/shogun/CONTROL
+++ b/ports/shogun/CONTROL
@@ -1,5 +1,6 @@
Source: shogun
-Version: 6.1.4-1
-Build-Depends: bzip2, eigen3, liblzma, libxml2, openblas (x64&!osx), nlopt, rxcpp, snappy, zlib, protobuf, curl, lzo, dirent
+Version: 6.1.4
+Port-Version: 2
+Build-Depends: bzip2, eigen3, liblzma, libxml2, openblas, nlopt, rxcpp, snappy, zlib, protobuf, curl, lzo, dirent
Homepage: https://github.com/shogun-toolbox/shogun
Description: Unified and efficient Machine Learning \ No newline at end of file
diff --git a/ports/shogun/portfile.cmake b/ports/shogun/portfile.cmake
index ce68bcb57..47555a75b 100644
--- a/ports/shogun/portfile.cmake
+++ b/ports/shogun/portfile.cmake
@@ -1,11 +1,5 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
-if(VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
- set(CMAKE_DISABLE_FIND_PACKAGE_BLAS 0)
-else()
- set(CMAKE_DISABLE_FIND_PACKAGE_BLAS 1)
-endif()
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO shogun-toolbox/shogun
@@ -44,10 +38,9 @@ vcpkg_configure_cmake(
-DCMAKE_DISABLE_FIND_PACKAGE_ARPREC=TRUE
-DCMAKE_DISABLE_FIND_PACKAGE_Ctags=TRUE
-DCMAKE_DISABLE_FIND_PACKAGE_CCache=TRUE
- -DCMAKE_DISABLE_FIND_PACKAGE_LAPACK=TRUE
-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=TRUE
-DCMAKE_DISABLE_FIND_PACKAGE_CURL=TRUE
- -DCMAKE_DISABLE_FIND_PACKAGE_BLAS=${CMAKE_DISABLE_FIND_PACKAGE_BLAS}
+ -DCMAKE_DISABLE_FIND_PACKAGE_OpenMP=TRUE
-DINSTALL_TARGETS=shogun-static
)
@@ -62,4 +55,4 @@ file(REMOVE_RECURSE
)
# Handle copyright
-file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file
+file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)