Skip to content

Commit

Permalink
support wheel based builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tmi committed Dec 9, 2024
1 parent 609f5d0 commit 6e359a8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-wheel-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,10 @@ jobs:
name: Build manylinux_2_28

steps:
# TODO which project do we build odc wheel from -- this, or some bundle? Or can we obtain the compiled eckit artifact somehow?
- run: git clone --branch develop --depth=1 https://github.com/ecmwf/eckit.git /src/eckit
- run: /buildscripts/compile.sh ./eckit/python_wrapper/buildconfig
- uses: actions/checkout@v2
# TODO make this parametrized -- we want to allow for local-wheel devel builds etc
- run: /buildscripts/prepare_deps.sh ./odc/python_wrapper/buildconfig 3.11
- run: /buildscripts/compile.sh ./odc/python_wrapper/buildconfig

################################################################
- run: /buildscripts/wheel-linux.sh ./odc/python_wrapper/buildconfig 3.11
- uses: actions/upload-artifact@v4
name: Upload wheel 3.11
Expand Down
4 changes: 2 additions & 2 deletions python_wrapper/buildconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
NAME="odc"
CMAKE_PARAMS=""
PYPROJECT_DIR="python_wrapper"
export eckit_ROOT="/target/eckit"
FINDLIBS_DEPENDENCIES='["eckitlibs"]'
export eckit_ROOT="/prereqs/eckit"
DEPENDENCIES='["eckit"]'
1 change: 1 addition & 0 deletions python_wrapper/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[metadata]
description = "odc"
long_description = file: README.md
long_description_content_type = text/markdown
author = file: AUTHORS

0 comments on commit 6e359a8

Please sign in to comment.