{"id":18562100,"url":"https://github.com/timstaley/ansible-casalibs-src","last_synced_at":"2026-04-18T11:01:35.370Z","repository":{"id":34408172,"uuid":"38337510","full_name":"timstaley/ansible-casalibs-src","owner":"timstaley","description":"Ansible role supplying the casacore libraries, built from source.","archived":false,"fork":false,"pushed_at":"2016-11-17T17:27:54.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T12:45:29.719Z","etag":null,"topics":["ansible","ansible-role","casacore","radio-astronomy"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timstaley.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-30T23:03:36.000Z","updated_at":"2017-08-04T10:18:53.000Z","dependencies_parsed_at":"2022-08-03T20:45:27.046Z","dependency_job_id":null,"html_url":"https://github.com/timstaley/ansible-casalibs-src","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstaley%2Fansible-casalibs-src","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstaley%2Fansible-casalibs-src/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstaley%2Fansible-casalibs-src/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timstaley%2Fansible-casalibs-src/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timstaley","download_url":"https://codeload.github.com/timstaley/ansible-casalibs-src/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254388241,"owners_count":22063011,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","casacore","radio-astronomy"],"created_at":"2024-11-06T22:08:46.943Z","updated_at":"2026-04-18T11:01:30.322Z","avatar_url":"https://github.com/timstaley.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"casalibs-src\n=============\n\nAn [Ansible](http://docs.ansible.com/) [role](https://galaxy.ansible.com/intro)\nsupplying a built-from-source installation of \n[casacore](https://github.com/casacore/casacore),\nthe [python-casacore](https://github.com/casacore/python-casacore) Python bindings,\nand optionally the\n[casarest](https://svn.astron.nl/viewvc/casarest?view=revision\u0026revision=7395)\nlibrary.\n\nThis is useful if you want to:\n- Install casacore / python-casacore from time-to-time without having to remember\n  all the fine details of the install process.\n- Integrate casacore installation into a larger Ansible-powered install process.\n- Check that a particular version of casacore builds OK for your target system -\n  tweak the Vagrantfile parameters accordingly and then simply `vagrant up`.\n  (*In a hurry?* - fire up an EC2 instance with e.g. 36 cores,\n   configure an Ansible\n   [inventory](http://docs.ansible.com/ansible/intro_inventory.html)\n   to point at the instance, then run\n   [tests/test-casalibs-src-role.yml](tests/test-casalibs-src-role.yml)\n   using the `ansible-playbook` command.)\n\nThe scripts go through all the required steps of:\n- Installing system packages\n- Downloading the source repositories and CASA measures data\n- Configuring CMake builds with the required paths,\n- Running the casacore build\n- Running a python-casacore install-and-build from PyPI with the corresponding\n  casacore library path specified.\n\nThe final product is a folder containing versioned builds and simple shell\nscripts to add them to your $PATH / $PYTHONPATH, e.g.:\n\n    ~$ ls /opt/casalibs/ -lh\n    drwxrwxr-x 5 vagrant vagrant 4.0K Mar 23 13:08 casacore-2.0.1\n    -rw-rw-r-- 1 vagrant vagrant   62 Mar 23 13:10 init-casabinaries-2.0.1.sh\n    lrwxrwxrwx 1 vagrant vagrant   40 Mar 23 13:10 init-casabinaries.sh -\u003e /opt/casalibs/init-casabinaries-2.0.1.sh\n    -rw-rw-r-- 1 vagrant vagrant  337 Mar 23 13:10 init-casalibs-2.0.1.sh\n    lrwxrwxrwx 1 vagrant vagrant   36 Mar 23 13:10 init-casalibs.sh -\u003e /opt/casalibs/init-casalibs-2.0.1.sh\n    drwxrwxr-x 5 vagrant vagrant 4.0K Mar 23 13:10 pycasacore-2.0.0_with-core-2.0.1_packagedir\n\n\n\nOnly tested with Ubuntu, currently.\n\nNote that if you're using a supported distribution (e.g. Ubuntu 14.04)\nyou might prefer to use the ready-made apt-packages available from \nhttps://launchpad.net/~radio-astro/+archive/ubuntu/main.\n\nTo Do\n-------\n* Finish up role-metadata, add travis-testing.\n\nRequirements\n--------------\nAssumes presence of git and pip on the machine.\n(For the Vagrant test-vm these basics are installed from\n[tests/base.yml](tests/base.yml).)\n\nRole Variables\n--------------\n\nKey variables are:\n- \"repo_dir\": All repositories are checked out under `{{ repo_dir }}/casalibs`\n- \"default_install_prefix\": Libraries are built under `{{ default_install_prefix }}/casalibs`\n- \"casacore_github_version\": Which casacore version-tag to checkout from github.\n- \"python_casacore_version\": Which python-casacore version-tag to checkout from github.\n\nSee [defaults/main.yml](defaults/main.yml) and [vars/main.yml](vars/main.yml)\nfor default values and full details.\n\nExample Playbook\n----------------\nSee [tests/test-casalibs-src-role.yml](tests/test-casalibs-src-role.yml).\n\n\nLicense\n-------\nBSD\n\nAuthor\n------------------\n[Tim Staley](https://github.com/timstaley)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimstaley%2Fansible-casalibs-src","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimstaley%2Fansible-casalibs-src","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimstaley%2Fansible-casalibs-src/lists"}