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

Volk: Update to 3.1.2 and add Python 3.11 and 3.12 variants #27425

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
22 changes: 9 additions & 13 deletions science/volk/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ long_description {*}${long_description} ${subport} \
license GPL-3
homepage https://libvolk.org/

github.setup gnuradio volk 2.5.0 v
github.setup gnuradio volk 3.1.2 v
revision 0

epoch 2
Expand All @@ -51,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 @@ -66,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 @@ -83,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 @@ -126,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 {35 36 37 38 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.