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

Build casacore 3.6.1 on macOS #10

Merged
merged 3 commits into from
Aug 29, 2024
Merged
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
4 changes: 2 additions & 2 deletions Formula/casacore-data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def stage(&block)
class CasacoreData < Formula
desc "Ephemerides and geodetic data for casacore measures (via Astron)"
homepage "https://github.com/casacore/casacore"
url "ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures_20240611-160001.ztar", using: ZtarDownloadStrategy
sha256 "2241bae966986bb7914d589084fb69e4844ef5813d7189eb414370e0583f67d2"
url "ftp://anonymous@ftp.astron.nl/outgoing/Measures/WSRT_Measures_20240828-160001.ztar", using: ZtarDownloadStrategy
sha256 "75fe0f54e4f4c7ffa74f8a9efe082619d1add9bc95478004140772bb132057a0"
head "ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar", using: ZtarDownloadStrategy

option "with-casapy", "Use Mac CASA.App (aka casapy) data directory if found"
Expand Down
23 changes: 4 additions & 19 deletions Formula/casacore.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Casacore < Formula

Check warning on line 1 in Formula/casacore.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-22.04)

`brew linkage --cached --test --strict casacore/tap/casacore` failed on Linux!

Indirect dependencies with linkage: [email protected]

Check warning on line 1 in Formula/casacore.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-13)

`brew linkage --cached --test --strict casacore/tap/casacore` failed on macOS Ventura (13)!

Indirect dependencies with linkage: [email protected]

Check warning on line 1 in Formula/casacore.rb

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew linkage --cached --test --strict casacore/tap/casacore` failed on macOS Sonoma (14) on Apple Silicon!

Indirect dependencies with linkage: [email protected]
desc "Suite of C++ libraries for radio astronomy data processing"
homepage "https://github.com/casacore/casacore"
url "https://github.com/casacore/casacore/archive/refs/tags/v3.5.0.tar.gz"
sha256 "63f1c8eff932b0fcbd38c598a5811e6e5397b72835b637d6f426105a183b3f91"
url "https://github.com/casacore/casacore/archive/refs/tags/v3.6.1.tar.gz"
sha256 "480d3340fa17e9ba67f18efbaff4bbb272a01d1f400d2295c0b6c86eb7abcf82"
head "https://github.com/casacore/casacore.git"

option "without-python", "Build without Python bindings"
Expand All @@ -14,13 +14,11 @@
depends_on "gcc" # for gfortran
depends_on "gsl"
depends_on "hdf5"
depends_on "ncurses"
depends_on "openblas"
depends_on "readline"
depends_on "wcslib"

# Apply patches at the end of the formula, in the following order:
# 1. casacore/casacore#1350 (should be in next release after 3.5.0)
patch :DATA

if build.with?("python")
depends_on "python3"
depends_on "numpy"
Expand Down Expand Up @@ -52,16 +50,3 @@
system bin / "findmeastable", "DE405"
end
end

__END__
diff --git a/tables/Dysco/tests/testdyscostman.cc b/tables/Dysco/tests/testdyscostman.cc
index 69da97c..ae52c03 100644
--- a/tables/Dysco/tests/testdyscostman.cc
+++ b/tables/Dysco/tests/testdyscostman.cc
@@ -1,5 +1,6 @@
#include <boost/test/unit_test.hpp>
#include <boost/filesystem/operations.hpp>
+#include <boost/filesystem/directory.hpp>

#include <casacore/tables/Tables/ArrayColumn.h>
#include <casacore/tables/Tables/Table.h>