(macOS only) For the time being until the pointer to casacore is not changed in casa ( CAS-13926 - Update casacore pointer to better support pkg-config Verifying ), modify the following line inside casacore/casacore.pc.in. Also, once casacore is built and installed in the next step, edit the installed lib/pkgconfig/casacore.pc to change the "Libs:" line as explained in CAS-13921 - Support the modular build system in macOS Abierta (first comment, temporary workaround for an issue with LAPACK).
HOW-TO: Using the new build system
==================================
Here is a summary of the process:
Install the required prerequisites. Depending on your platform this might be as easy as install system packages or can be more elaborated.
Install casacore and libsakura
Install CASA C++ (aka casacpp).
In the instructions below the variable $CASAINSTALL has been chosen as a placeholder for the directory where the compiled software will be installed. Define the variable or replace it accordingly.
Here follows a detailed explanation of these steps:
Install the required prerequisites
----------------------------------
The following packages are needed to install casa, casacore and libsakura:
C++ compiler (in the case of gcc at least version 4.9 and optionally support for OpenMP)
protobuf library + protobuf compiler
gRPC + gRPC protobuf plugin
Requirements for GPU build (development still in progress):
To install these dependencies one can either install them manually using any native method (which might not be trivial) or use package managers. The later is way easier and we have collected the instructions for the following operating systems:
RHEL equivalent (tested on RockyLinux 8)
macOS (tested on 11 and 12)
What follows is the detailed instructions to install the prerequisites for all these platforms.
Installing prerequisites in RHEL equivalent (tested only on RockyLinux 8)
--------------------------------------------------------------------------