summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/chill/package.py
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02start of work to add spack audit packages-https checker (#25670)Vanessasaurus1-1/+1
This PR will add a new audit, specifically for spack package homepage urls (and eventually other kinds I suspect) to see if there is an http address that can be changed to https. Usage is as follows: ```bash $ spack audit packages-https <package> ``` And in list view: ```bash $ spack audit list generic: Generic checks relying on global variables configs: Sanity checks on compilers.yaml Sanity checks on packages.yaml packages: Sanity checks on specs used in directives packages-https: Sanity checks on https checks of package urls, etc. ``` I think it would be unwise to include with packages, because when run for all, since we do requests it takes a long time. I also like the idea of more well scoped checks - likely there will be other addresses for http/https within a package that we eventually check. For now, there are two error cases - one is when an https url is tried but there is some SSL error (or other error that means we cannot update to https): ```bash $ spack audit packages-https zoltan PKG-HTTPS-DIRECTIVES: 1 issue found 1. Error with attempting https for "zoltan": <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'www.cs.sandia.gov'. (_ssl.c:1125)> ``` This is either not fixable, or could be fixed with a change to the url or (better) contacting the site owners to ask about some certificate or similar. The second case is when there is an http that needs to be https, which is a huge issue now, but hopefully not after this spack PR. ```bash $ spack audit packages-https xman Package "xman" uses http but has a valid https endpoint. ``` And then when a package is fixed: ```bash $ spack audit packages-https zlib PKG-HTTPS-DIRECTIVES: 0 issues found. ``` And that's mostly it. :) Signed-off-by: vsoch <vsoch@users.noreply.github.com> Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-01-02copyrights: update all files with license headers for 2021Todd Gamblin1-1/+1
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files - [x] update all licensed files to say 2013-2021 using `spack license update-copyright-year` - [x] appease mypy with some additions to package.py that needed for oneapi.py
2020-06-24chill: Patch to include gmp, isl, and libquadmath (#16996)John Jolly1-1/+19
The rose library uses the `strtoflt128` and `quadmath_snprintf` functions. In order to successfully link the rose library, chill must also link the GCC libquadmath library to resolve the two functions. This patch changes the chill build to include this library. Chill will also not compile unless headers from the gmp and isl libraries are found in the includes path. Two patches - one each for gmp and isl - modify the chill build process to add options to specify those paths. These options follow the similar pattern as seen with BOOSTHOME and ROSEHOME options which already exist in the chill build process. Because of the addition of GMPHOME and ISLHOME options, build requirements for gmp and isl are also added.
2020-06-15chill: Update dependency versionsJohn Jolly1-4/+5
Specified Python to be v2.7 only, as Python3 support is not currently implemented in chill. Update chill dependency versions for the following libraries to the specific versions: * rose: v0.9.13.0 * bison: v3.4.2 Both rose and iegenlib are build time dependencies, but are also run time dependencies. Added 'run' to the build type for both dependencies.
2019-12-30copyright: update copyright dates for 2020 (#14328)Todd Gamblin1-1/+1
2019-11-29Mass conversion of setup_(dependent_)?environment (#13924)Adam J. Stewart1-10/+15
* Mass conversion of setup_(dependent_)?environment * prefix -> self.prefix
2019-08-21Chill package: build fixes (#12249)Derick Huth1-10/+14
* Specify rose/boost dependencies separately * Replace custom bootstrap phase with autoreconf phase and fix typo when locating bash exe * Add bison/flex dependencies * Fix configure args typo
2019-06-27New packages: Chill and IEGenLib (#11406)Derick Huth1-0/+56
* Add Chill package * Add IEGenLib package, a dependency of Chill