{"id":17723879,"url":"https://github.com/nemequ/pgi-travis","last_synced_at":"2025-06-21T10:41:44.167Z","repository":{"id":49489159,"uuid":"82236898","full_name":"nemequ/pgi-travis","owner":"nemequ","description":"Install PGI Community Edition on Travis CI","archived":false,"fork":false,"pushed_at":"2021-06-16T16:42:37.000Z","size":7,"stargazers_count":16,"open_issues_count":3,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-24T04:48:48.042Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/nemequ.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":"2017-02-16T23:40:25.000Z","updated_at":"2022-09-08T00:51:34.000Z","dependencies_parsed_at":"2022-09-11T01:51:22.449Z","dependency_job_id":null,"html_url":"https://github.com/nemequ/pgi-travis","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fpgi-travis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fpgi-travis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fpgi-travis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemequ%2Fpgi-travis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemequ","download_url":"https://codeload.github.com/nemequ/pgi-travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246620391,"owners_count":20806762,"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":[],"created_at":"2024-10-25T15:44:16.423Z","updated_at":"2025-04-01T16:30:39.986Z","avatar_url":"https://github.com/nemequ.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Obsolete\n\nThis repository is obsolete. NVIDIA (who now owns PGI) now offers\npackages which integrate with various package managers (including\napt, which can be used on Travis) and straightforward installation\ninstructions.\n\nFor details, see https://developer.nvidia.com/hpc-sdk-downloads\n\n# Install PGI Community Edition on Travis CI\n\n[![Build Status](https://travis-ci.org/nemequ/pgi-travis.svg?branch=master)](https://travis-ci.org/nemequ/pgi-travis)\n\nThis project is intended to provide an easy way to use [PGI Community\nEdition](http://www.pgroup.com/products/community.htm) on Travis.\n\n## Usage\n\nIt is currently possible to use this script with either version of\nUbuntu which Travis currently supports (12.04 or 14.04), with or\nwithout sudo.\n\nYou'll need to run the `install-pgi.sh` script.  There are two main\nways to go about that: you can copy the `install-pgi.sh` script to\nyour repository, or download the latest version from GitHub every time\nyou want to run it.\n\nThe main advantage of placing a copy of `install-pgi.sh` in your repo\nis stability; you know the script is not going to change in a way that\nbreaks backwards compatibility.  On the other hand, stability can also\nbe a disadvantage; you will not be able to take advantage of bug fixes\nand new versions automatically.\n\nDownloading a copy of the script every time you run it is less stable,\nbut it means you always get the latest version.\n\nWe prefer that you download a copy every time; this allows us to\nbetter fix any issues, and makes it easier for us to comply with any\nrequests from PGI.\n\nIf you do choose to have Travis download a copy every time, you can\nuse this command:\n\n```bash\ncurl -s \\\n  'https://raw.githubusercontent.com/nemequ/pgi-travis/master/install-pgi.sh' | \\\n  /bin/sh\n```\n\nMost of the time you'll want to add a PGI build to a matrix, not just\nswitch to PGI.  In this case, you can do something like:\n\n```yaml\nmatrix:\n  include:\n    - env: C_COMPILER=pgcc CXX_COMPILER=pgc++\n\nbefore_install:\n- if [ \"${C_COMPILER}\" = \"pgcc\" -o \"${CXX_COMPILER}\" = \"pgc++\" ]; then curl -s 'https://raw.githubusercontent.com/nemequ/pgi-travis/master/install-pgi.sh' | /bin/sh; fi\n\n###\n## If we use the matrix to set CC/CXX Travis overwrites the values,\n## so instead we use C/CXX_COMPILER then copy the values to CC/CXX\n## here (after Travis has set CC/CXX).\n###\n- if [ -n \"${C_COMPILER}\" ]; then export CC=\"${C_COMPILER}\"; fi\n- if [ -n \"${CXX_COMPILER}\" ]; then export CXX=\"${CXX_COMPILER}\"; fi\n```\n\nThis can easily be extended to test multiple versions of GCC/clang in\naddition to PGI.  For an example, see\n[hedley](https://github.com/nemequ/hedley/blob/master/.travis.yml).\n\n#### Arguments\n\nCurrently, there are several arguments you can pass:\n\n - `--dest DIR`: Location to install to.  Default: ${HOME}/pgi\n - `--tmpdir DIR`: Location for temporary files.  Default: /tmp\n - `--nvidia`: Install Nvidia tools.\n - `--amd`: Install AMD tools.\n - `--java`: Install Java tools.\n - `--mpi`: Install MPI tools.\n - `--mpi-gpu`: Install MPI GPU support.\n - `--managed`: Install managed tools.\n - `--verbose`: Be a bit more verbose.\n\nUse a space to separate argument names from values (*i.e.*, `--dest\n/opt/foo` **not** `--dest=/opt/foo`.\n\n## Legal Information\n\nBy installing PGI with this script you agree to the [PGI End-User\nLicense Agreement](http://www.pgroup.com/doc/LICENSE.txt).\n\nPGI graciously provides PGI Community Edition for free.  Please make\nsure your usage complies with their terms, and do not abuse it.\nBasically, don't do anything to screw this up for the rest of us.\n\nTo the extent possible under law, the author(s) of this script (not\nPGI Community Edition) have waived all copyright and related or\nneighboring rights to this work.  For details, see the [CC0 1.0\nUniversal Public Domain\nDedication](https://creativecommons.org/publicdomain/zero/1.0/) for\ndetails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemequ%2Fpgi-travis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemequ%2Fpgi-travis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemequ%2Fpgi-travis/lists"}