Skip to content

Commit

Permalink
Control dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Jan 15, 2025
1 parent b57b287 commit f2c4bbf
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 14 deletions.
51 changes: 40 additions & 11 deletions ports/octave/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,51 @@ vcpkg_find_acquire_program(GPERF)
get_filename_component(GPERF_EXE_PATH "${GPERF}" DIRECTORY)
vcpkg_add_to_path("${GPERF_EXE_PATH}")

vcpkg_find_acquire_program(PKGCONFIG)
set(ENV{PKGCONFIG} "${PKGCONFIG}")

vcpkg_configure_make(
SOURCE_PATH "${SOURCE_PATH}"
AUTOCONFIG
OPTIONS
--disable-docs
--without-amd
--without-camd
--without-ccolamd
--without-cholmod
--without-colamd
--without-curl
--without-cxsparse
--without-hdf5
--without-qhull_r
--without-qrupdate
--without-umfpack
--disable-java
--disable-hg-id
--enable-lib-visibility-flags
--enable-relocate-all
--with-amd=no
--with-arpack=no
--with-bz2=no
--with-camd=no
--with-ccolamd=no
--with-cholmod=no
--with-colamd=no
--with-cxsparse=no
--with-curl=no
--with-cxsparse=no
--with-fftw3 # yes
--with-fftw3f # yes
--with-fltk=no
--with-fontconfig=no
--with-freetype=no
--with-glpk # yes
--with-hdf5=no
--with-klu=no
--with-magick=no
--with-opengl # yes
--with-portaudio=no
--with-pcre2 # yes
--with-qhull_r=no
--with-qrupdate=no
--with-qscintilla=no
--with-qt=no
--with-sndfile # yes
--with-spqr=no
--with-suitesparseconfig=no
--with-sundials_ida=no
--with-sundials_nvecserial=no
--with-umfpack=no
--with-z # yes
)
vcpkg_install_make()
vcpkg_fixup_pkgconfig()
Expand Down
2 changes: 0 additions & 2 deletions ports/octave/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
"libsndfile",
"opengl",
"pcre2",
"portaudio",
"readline",
"sundials",
"zlib"
]
}
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -6562,7 +6562,7 @@
},
"octave": {
"baseline": "9.3.0",
"port-version": 0
"port-version": 1
},
"octomap": {
"baseline": "1.10.0",
Expand Down
5 changes: 5 additions & 0 deletions versions/o-/octave.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c2e5943f09f28264953ef0ff1163261177451a74",
"version": "9.3.0",
"port-version": 1
},
{
"git-tree": "ccc6f3902109e65f792d122b77ccd880b25c3ff8",
"version": "9.3.0",
Expand Down

0 comments on commit f2c4bbf

Please sign in to comment.