Skip to content

Commit

Permalink
Added wsclean conda package
Browse files Browse the repository at this point in the history
  • Loading branch information
mpluess committed Mar 28, 2024
1 parent 7ddb4a3 commit d71307b
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:

# WSClean
IDG_VERSION: 1.2.0
WSCLEAN_VERSION: 3.4.0 # actual version 3.4

# additional karabo dependencies
AOTOOLS_VERSION: 1.0.6
Expand Down
7 changes: 7 additions & 0 deletions wsclean/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ..
make -j 4
make install
11 changes: 11 additions & 0 deletions wsclean/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
python:
- 3.9

boost:
- 1.74
- 1.78
- 1.82
- 1.84

pin_run_as_build:
boost: x.x
67 changes: 67 additions & 0 deletions wsclean/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
package:
name: {{ PACKAGE_NAME|lower }}
version: {{ WSCLEAN_VERSION_ALT }}

source:
git_url: https://gitlab.com/aroffringa/wsclean.git
# Cut off the .0 part in e.g. 3.4.0 we added just for conda build
git_tag: "v{{ WSCLEAN_VERSION[:-2] }}"

build:
number: {{ build }}
string: py{{ py }}h{{ PKG_HASH }}_{{ build }}

requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- cmake
- make
- boost
- casacore
- cfitsio
- everybeam
- fftw
- gsl
- hdf5
- idg
- libblas
- liblapack
- python

host:
- boost
- casacore
- cfitsio
- everybeam
- fftw
- gsl
- hdf5
- idg
- libblas
- liblapack
- python

run:
- boost
- casacore
- cfitsio
- everybeam
- fftw
- gsl
- hdf5
- idg
- libblas
- liblapack
- python

about:
home: https://wsclean.readthedocs.io
license: GPLv3
summary: 'WSClean (w-stacking clean) is a fast generic widefield imager'
doc_url: https://wsclean.readthedocs.io
dev_url: https://gitlab.com/aroffringa/wsclean

extra:
recipe-maintainers:
- [email protected]

0 comments on commit d71307b

Please sign in to comment.