Skip to content

Commit

Permalink
volk: Update to 3.1.2, add Python 3.11 and 3.12 variants.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielO committed Feb 3, 2025
1 parent 90713df commit 985e3c0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 291 deletions.
24 changes: 9 additions & 15 deletions science/volk/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ long_description {*}${long_description} ${subport} \
license GPL-3
homepage https://libvolk.org/

github.setup gnuradio volk 2.5.0 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
github.setup gnuradio volk 3.1.2 v
revision 0

epoch 2
Expand All @@ -53,7 +51,7 @@ epoch 2

set cpu_features_github_author google
set cpu_features_github_project cpu_features
set cpu_features_github_branch a8397ba4591237c17d18e4acc091f5f3ebe7391e
set cpu_features_github_branch ba4bffa86cbb5456bdb34426ad22b9551278e2c0

set main_distname ${distname}
set main_distfile ${distfiles}
Expand All @@ -68,13 +66,13 @@ master_sites ${github.homepage}/archive/${git.branch}:tagone \
https://github.com/${cpu_features_github_author}/${cpu_features_github_project}/archive/${cpu_features_github_branch}:tagtwo

checksums ${main_distfile} \
rmd160 e109ad2361dfa2ab8908aff644b067fcd832028d \
sha256 468bebdb8c2ae9b82837ad08abd146dd9a9a48d3de7bea2d0095e4b1557b5299 \
size 357828 \
rmd160 b49e02fcac2b98c226b804bb0659468dfb1f3727 \
sha256 90082bf68d76d00aa6c35f8bff0e93891b4204d817e1a3ba829486b445f715dc \
size 382769 \
${cpu_features_distfile} \
rmd160 7221e014514170ed24a1d0294b8195cecd9b7465 \
sha256 b47031a2a9ab04cb6514285103e51ba92c8f0bf28470cce911ac0c9af781c307 \
size 63263
rmd160 8a398e527b7f095c2f6f8c5633528085687cc03e \
sha256 1f7ef67bdb0797f55e9d69340bcb16685de75fbd22a0c92f4443f09f171c0e2c \
size 109281

post-extract {
# put the cpu_features_github_project directory into position
Expand All @@ -85,10 +83,6 @@ post-extract {
move ${workpath}/${cpu_features_distname} ${worksrcpath}/cpu_features
}

# fix cpu_features to work with ARM64

patchfiles-append patch-cpu_features-add-support-for-ARM64.diff

# We can add a proper support for ppc into cpu_features library,
# however for volk it seems inconsequential presently, since it
# does not have dedicated code for ppc; cpu_features are used
Expand Down Expand Up @@ -128,7 +122,7 @@ configure.cppflags-delete -I${prefix}/include
# specify the Python dependencies; these are checked for at configure,
# then used for building, but not at runtime.

set pythons_suffixes {35 36 37 38 39 310}
set pythons_suffixes {39 310 311 312}

set pythons_ports {}
foreach s ${pythons_suffixes} {
Expand Down
276 changes: 0 additions & 276 deletions science/volk/files/patch-cpu_features-add-support-for-ARM64.diff

This file was deleted.

0 comments on commit 985e3c0

Please sign in to comment.