Skip to content

Commit

Permalink
Updated cfitsio version in CI. Updated changelog for 0.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gsleap committed Mar 25, 2021
1 parent 4384cd1 commit 372ee00
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Build cfitsio
run: |
# Install dependencies
curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.48.tar.gz" -o cfitsio.tar.gz
curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz" -o cfitsio.tar.gz
tar -xf cfitsio.tar.gz
rm cfitsio.tar.gz
cd cfitsio-3.48
cd cfitsio-3.49
# Enabling SSE2/SSSE3 could cause portability problems, but it's unlikely that anyone
# is using such a CPU...
# https://stackoverflow.com/questions/52858556/most-recent-processor-without-support-of-ssse3-instructions
Expand Down Expand Up @@ -51,10 +51,10 @@ jobs:
- name: Build cfitsio
run: |
# Install dependencies
curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.48.tar.gz" -o cfitsio.tar.gz
curl "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-3.49.tar.gz" -o cfitsio.tar.gz
tar -xf cfitsio.tar.gz
rm cfitsio.tar.gz
cd cfitsio-3.48
cd cfitsio-3.49
# Enabling SSE2/SSSE3 could cause portability problems, but it's unlikely that anyone
# is using such a CPU...
# https://stackoverflow.com/questions/52858556/most-recent-processor-without-support-of-ssse3-instructions
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

Changes in each release are listed below.

## 0.6.2 25-Mar-2021 (Pre-release)

* Modified MWA Legacy read code to produce cotter-compatible visibilities:
* mwalib differs from cotter: cotter produces 0+0j for XY on auto's, mwalib provides the values.
* mwalib and cotter differ from pyuvdata: mwalib/cotter visibilities are conjugated with respect to pyuvdata for cross correlations.
* Added cotter validation data and test to ensure conversion code produces cotter equivalent visibilities (with the above exception).
* Provide rust-fitsio's cfitsio-static feature.
* Bumped fitsio dependency to 0.17.* and changed fitsio-sys to ^0 to ensure fitsio and mwalib use the same fitsio-sys version always.
* Updated CI pipeline: bumped install of cfitsio to v3.49.
* Made error handling code a little lighter.

## 0.6.1 08-Mar-2021 (Pre-release)

* Fixed za (zenith angle) calculation.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ cfitsio-static = ["fitsio-sys/fitsio-src"]
[dependencies]
chrono = "0.4.*"
fitsio = "0.17.*"
fitsio-sys = "0.4.*"
fitsio-sys = "^0" # fitsio also uses fitsio-sys so ensure we both use the same
lazy_static = "1.4.*"
libc = "0.2.*"
# Allow downstream users to select the rayon version to use.
Expand Down
2 changes: 2 additions & 0 deletions examples/build_c_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -eux

cargo build --release

# Compile the example C code
gcc -O3 \
mwalib-print-obs-context.c \
Expand Down
2 changes: 1 addition & 1 deletion tools/make_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rm -rf ../target
rm -rf release
echo "Building mwalib..."
export MWALIB_LINK_STATIC_CFITSIO=1
cargo build --release -v
cargo build --release
echo "Packaging up mwalib..."
mkdir -p release
mkdir -p release/lib
Expand Down

0 comments on commit 372ee00

Please sign in to comment.