Skip to content

Commit

Permalink
Merge pull request #2 from ryanvolz/conda-test
Browse files Browse the repository at this point in the history
Rebuild for gnuradio 3.10.10
  • Loading branch information
ryanvolz authored May 7, 2024
2 parents c668630 + e28730c commit 958e157
Show file tree
Hide file tree
Showing 27 changed files with 82 additions and 73 deletions.
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.22python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.22python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.22python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_numpy1.23python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ docker_image:
gmp:
- '6'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
numpy:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_64_numpy1.22python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_64_numpy1.22python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_64_numpy1.22python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
4 changes: 2 additions & 2 deletions .ci_support/osx_64_numpy1.23python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.9'
- '10.13'
c_compiler:
- clang
c_compiler_version:
Expand All @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_numpy1.22python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_numpy1.22python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_numpy1.22python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_arm64_numpy1.23python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cxx_compiler:
cxx_compiler_version:
- '16'
gnuradio_core:
- 3.10.9
- 3.10.10
gnuradio_extra_pin:
- ''
macos_machine:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/conda-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,46 +99,46 @@ jobs:
SHORT_CONFIG: osx_64_numpy1.22python3.10.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_64_numpy1.22python3.8.____cpython
SHORT_CONFIG: osx_64_numpy1.22python3.8.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_64_numpy1.22python3.9.____cpython
SHORT_CONFIG: osx_64_numpy1.22python3.9.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_64_numpy1.23python3.11.____cpython
SHORT_CONFIG: osx_64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_arm64_numpy1.22python3.10.____cpython
SHORT_CONFIG: osx_arm64_numpy1.22python3.10.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_arm64_numpy1.22python3.8.____cpython
SHORT_CONFIG: osx_arm64_numpy1.22python3.8.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_arm64_numpy1.22python3.9.____cpython
SHORT_CONFIG: osx_arm64_numpy1.22python3.9.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
- CONFIG: osx_arm64_numpy1.23python3.11.____cpython
SHORT_CONFIG: osx_arm64_numpy1.23python3.11.____cpython
UPLOAD_PACKAGES: True
os: macos
runs_on: ['macos-latest']
runs_on: ['macos-13']
steps:

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
./.scripts/run_osx_build.sh
- name: Install Miniconda for windows
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
miniforge-variant: Mambaforge
Expand Down
6 changes: 3 additions & 3 deletions .scripts/build_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ CONDARC
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1

mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
pip mamba conda-build boa conda-forge-ci-setup=4
pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
pip mamba conda-build boa conda-forge-ci-setup=4
pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"

# set up the condarc
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
Expand Down Expand Up @@ -68,7 +68,7 @@ if [[ "${BUILD_WITH_CONDA_DEBUG:-0}" == 1 ]]; then
# Drop into an interactive shell
/bin/bash
else
conda mambabuild "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
conda-build "${RECIPE_ROOT}" -m "${CI_SUPPORT}/${CONFIG}.yaml" \
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
--clobber-file "${CI_SUPPORT}/clobber_${CONFIG}.yaml" \
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
Expand Down
6 changes: 3 additions & 3 deletions .scripts/run_osx_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ export CONDA_SOLVER="libmamba"
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1

mamba install --update-specs --quiet --yes --channel conda-forge --strict-channel-priority \
pip mamba conda-build boa conda-forge-ci-setup=4
pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
pip mamba conda-build boa conda-forge-ci-setup=4
pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"



Expand Down Expand Up @@ -81,7 +81,7 @@ else
EXTRA_CB_OPTIONS="${EXTRA_CB_OPTIONS:-} --no-test"
fi

conda mambabuild ./.conda/recipe -m ./.ci_support/${CONFIG}.yaml \
conda-build ./.conda/recipe -m ./.ci_support/${CONFIG}.yaml \
--suppress-variables ${EXTRA_CB_OPTIONS:-} \
--clobber-file ./.ci_support/clobber_${CONFIG}.yaml \
--extra-meta flow_run_id="$flow_run_id" remote_url="$remote_url" sha="$sha"
Expand Down
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ add_custom_target(uninstall
add_subdirectory(include/gnuradio/hpsdr)
add_subdirectory(lib)
add_subdirectory(apps)
add_subdirectory(examples)
add_subdirectory(docs)
# NOTE: manually update below to use GRC to generate C++ flowgraphs w/o python
if(ENABLE_PYTHON)
Expand All @@ -149,3 +150,7 @@ configure_package_config_file(
INSTALL_DESTINATION ${GR_CMAKE_DIR}
)

install(FILES MANIFEST.yml
RENAME MANIFEST-${VERSION_MAJOR}.${VERSION_API}.${VERSION_ABI}${VERSION_PATCH}.yml
DESTINATION share/gnuradio/manifests/hpsdr)

33 changes: 0 additions & 33 deletions MANIFEST.md

This file was deleted.

Loading

0 comments on commit 958e157

Please sign in to comment.