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

[casacore] Update to 3.5.0 #5119

Merged
merged 4 commits into from
Jul 9, 2022
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
17 changes: 7 additions & 10 deletions C/casacore/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,17 @@
using BinaryBuilder, Pkg

name = "casacore"
version = v"3.4.0"
version = v"3.5.0"

# Collection of sources required to complete build
sources = [
GitSource("https://github.com/casacore/casacore.git", "a735bf5f31ea012ac4f7f7378a1f89c1fc136a06"),
DirectorySource("./bundled")
GitSource("https://github.com/casacore/casacore.git", "ff766c49fdfddd34715fd017a08aaedcc01736e0"),
]

# Bash recipe for building across all platforms
script = raw"""
cd $WORKSPACE/srcdir/casacore

# Apply upstream patch that fixes i386 builds
atomic_patch -p1 ${WORKSPACE}/srcdir/patches/0001-Fix-compilation-of-RefTable-on-i386-platform-1129.patch

# Apply strerror patch
atomic_patch -p1 ${WORKSPACE}/srcdir/patches/0002-Use-overloading-to-detect-strerror-variant.patch

mkdir build && cd build
CMAKE_FLAGS=()

Expand All @@ -38,7 +31,10 @@ CMAKE_FLAGS+=(-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN})
CMAKE_FLAGS+=(-DUSE_OPENMP=OFF)

# Don't build python hooks
CMAKE_FLAGS+=(-DBUILD_PYTHON=no)
CMAKE_FLAGS+=(-DBUILD_PYTHON3=OFF)

# Build "portable" code
CMAKE_FLAGS+=(-DPORTABLE=ON)

# Stock FFTW3 has threads already baked in
CMAKE_FLAGS+=(-DFFTW3_DISABLE_THREADS=yes)
Expand Down Expand Up @@ -112,6 +108,7 @@ dependencies = [
Dependency(PackageSpec(name="CFITSIO_jll", uuid="b3e40c51-02ae-5482-8a39-3ace5868dcf4"); compat = "4.0.0")
Dependency(PackageSpec(name="WCS_jll", uuid="550c8279-ae0e-5d1b-948f-937f2608a23e"); compat = "7.7.0")
Dependency(PackageSpec(name="Readline_jll", uuid="05236dd9-4125-5232-aa7c-9ec0c9b2c25a"); compat = "8.1.1")
Dependency(PackageSpec(name="GSL_jll", uuid="1b77fbbe-d8ee-58f0-85f9-836ddc23a7a4"); compat = "2.7.2")
Dependency(PackageSpec(name="OpenBLAS32_jll", uuid="656ef2d0-ae68-5445-9ca0-591084a874a2"))
Dependency(PackageSpec(name="CompilerSupportLibraries_jll", uuid="e66e0078-7015-5450-92f7-15fbd957f2ae"))
]
Expand Down

This file was deleted.

This file was deleted.