Skip to content

Commit

Permalink
Post-release 0.1.0 (#6)
Browse files Browse the repository at this point in the history
* Close #4
* Support HTTPS as `git` operations protocol
* Add check on `git status` (no un-commited changes allowed when running `roll_release.sh`)
* Add version `0.1.0` to (local) Spack package
  • Loading branch information
RMeli authored May 28, 2024
1 parent fc6b286 commit a72e19c
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ authors:
- given-names: Mathieu
family-names: Taillefumier
orcid: 'https://orcid.org/0000-0002-3983-5625'
identifiers:
- type: doi
value: 10.5281/zenodo.11241331
description: Zenodo DOI representing all versions
repository-code: 'https://github.com/eth-cscs/DLA-Future-Fortran'
abstract: Fortran interface for DLA-Future (Distributed Linear Algebra from the Future)
keywords:
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# DLA-Future Fortran Interface

[![zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.11241331.svg)](https://doi.org/10.5281/zenodo.11241331) [![pipeline status](https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/657496524998283/7598378243915359/badges/main/pipeline.svg)](https://gitlab.com/cscs-ci/ci-testing/webhook-ci/mirrors/657496524998283/7598378243915359/-/commits/main)

Fortran interface for [DLA-Future], a task-based linear algebra library providing GPU-enabled distributed eigensolver.

## Fortran API
Expand Down Expand Up @@ -43,5 +45,20 @@ call dlaf_free_grid(ictxt)
call dlaf_finalize()
```


## Acknowledgements

The development of [DLA-Future-Fortran] is supported by the following organizations:

* [CSCS]: Swiss National Supercomputing Center
* [ETH Zurich]: Swiss Federal Institute of Technology Zurich
* [PASC]: Platform for Advanced Scientific Computing

<img height="50" src="./docs/images/logo-cscs.jpg"><img height="50" src="./docs/images/logo-eth.svg"><img height="50" src="./docs/images/logo-pasc.png">

[DLA-Future]: https://github.com/eth-cscs/DLA-Future
[pika]: https://pikacpp.org/
[DLA-Future-Fortran]: https://github.com/eth-cscs/DLA-Future-Fortran
[CSCS]: https://www.cscs.ch
[ETH Zurich]: https://ethz.ch/en.html
[PASC]: https://www.pasc-ch.org/
Binary file added docs/images/logo-cscs.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions docs/images/logo-eth.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/logo-pasc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion scripts/roll_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ echo "Sanity checking release"

sanity_errors=0

printf "Checking that the git repository is in a clean state... "
if [[ $(git status --porcelain | wc -l) -eq 0 ]] ; then
echo "OK"
else
echo "ERROR"
sanity_errors=$((sanity_errors + 1))
fi

printf "Checking that %s has an entry for %s... " "${changelog_path}" "${VERSION_FULL}"
if grep "## DLA-Future-Fortran ${VERSION_FULL}" "${changelog_path}"; then
echo "OK"
Expand Down Expand Up @@ -125,7 +133,7 @@ else
git tag --annotate "${VERSION_FULL_TAG}" --message="${VERSION_TITLE}"
fi

remote=$(git remote -v | grep github.com:eth-cscs\/DLA-Future-Fortran.git | cut -f1 | uniq)
remote=$(git remote -v | grep "github.com[/:]eth-cscs/DLA-Future-Fortran.git" | cut -f1 | uniq)
if [[ "$(git ls-remote --tags --refs $remote | grep -o ${VERSION_FULL_TAG})" == "${VERSION_FULL_TAG}" ]]; then
echo "Tag already exists remotely."
else
Expand Down
8 changes: 5 additions & 3 deletions spack/packages/dla-future-fortran/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

# dlaf-no-license-check
from spack import *
from spack.package import *


class DlaFutureFortran(CMakePackage):
Expand All @@ -16,11 +16,12 @@ class DlaFutureFortran(CMakePackage):
url = "https://github.com/eth-cscs/DLA-Future-Fortran/archive/v0.0.0.tar.gz"
git = "https://github.com/eth-cscs/DLA-Future-Fortran.git"

maintainers("RMeli", "rasolca")
maintainers("RMeli", "rasolca", "aurianer")

license("BSD-3-Clause")

version("main")
version("main", branch="main")
version("0.1.0", sha256="9fd8a105cbb2f3e1daf8a49910f98fce68ca0b954773dba98a91464cf2e7c1da")

variant("shared", default=True, description="Build shared libraries.")
variant("test", default=False, description="Build tests.")
Expand All @@ -29,6 +30,7 @@ class DlaFutureFortran(CMakePackage):
depends_on("cmake@3.22:", type="build")

depends_on("dla-future@0.4.1: +scalapack")
depends_on("dla-future +shared", when="+shared")

depends_on("mpi", when="+test")
depends_on("py-fypp", when="+test", type="build")
Expand Down

0 comments on commit a72e19c

Please sign in to comment.