Skip to content

Commit 8ec13b0

Browse files
authored
Merge pull request #142 from dftlibs/prepare-v2.1.0
Prepare release 2.1.0
2 parents e985089 + a451675 commit 8ec13b0

File tree

9 files changed

+31
-16
lines changed

9 files changed

+31
-16
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# Change Log
22

3-
### Added
3+
## [Version 2.1.0] - 2020-09-18
44

5+
- Many new functionals in the SCAN family have been added. Thanks to James
6+
Furness for the contribution.
7+
See [PR #140](https://github.com/dftlibs/xcfun/pull/140)
8+
- The library is now available both as a Spack and a Conda package.
59
- The library can now be _natively_ compiled on Linux, macOS, and Windows.
610

711
### Changed
812

9-
- **BREAKING** CMake >= 3.14 is required to configure the code.
13+
- **BREAKING** CMake >= 3.14 is required to configure the code.
1014

1115
## [Version 2.0.2] - 2020-07-15
1216

@@ -122,6 +126,7 @@ modernize the library. See the [migration guide](https://xcfun.readthedocs.io/en
122126
- **BREAKING** The Fortran interface is no longer build with the code, but
123127
shipped as a separate file to be compiled within your own Fortran code.
124128

129+
[Version 2.1.0]: https://github.com/dftlibs/xcfun/compare/v2.0.2...v2.1.0
125130
[Version 2.0.2]: https://github.com/dftlibs/xcfun/compare/v2.0.1...v2.0.2
126131
[Version 2.0.1]: https://github.com/dftlibs/xcfun/compare/v2.0.0...v2.0.1
127132
[Version 2.0.0]: https://github.com/dftlibs/xcfun/compare/v2.0.0a7...v2.0.0

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
[![GitHub license](https://img.shields.io/github/license/dftlibs/xcfun.svg?style=flat-square)](https://github.com/dftlibs/xcfun/blob/master/LICENSE.md)
44
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3576419.svg)](https://doi.org/10.5281/zenodo.3576419)
55

6-
[![GitHub issues](https://img.shields.io/github/issues/dftlibs/xcfun.svg?style=flat-square)](https://github.com/dftlibs/xcfun/issues)
7-
[![GitHub forks](https://img.shields.io/github/forks/dftlibs/xcfun.svg?style=flat-square)](https://github.com/dftlibs/xcfun/network)
8-
[![GitHub stars](https://img.shields.io/github/stars/dftlibs/xcfun.svg?style=flat-square)](https://github.com/dftlibs/xcfun/stargazers)
9-
106
# XCFun: A library of exchange-correlation functionals with arbitrary-order derivatives
117

128
Copyright Ulf Ekström and [contributors](.zenodo.json) 2009-2020.
@@ -23,4 +19,6 @@ XCFun is licensed under version 2.0 of the Mozilla Public License
2319

2420
The documentation is available at https://xcfun.readthedocs.io.
2521

26-
XCFun can now be installed in a [Spack](https://spack.io) environment: https://xcfun.readthedocs.io/en/latest/using.html#installing-using-spack
22+
XCFun can be installed with popular package managers:
23+
- [Spack](https://spack.io): https://xcfun.readthedocs.io/en/latest/using.html#installing-using-spack
24+
- [Conda](https://docs.conda.io): https://xcfun.readthedocs.io/en/latest/using.html#installing-using-conda

cmake/custom/xcfun.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ if(DEFINED XCFUN_MAX_ORDER AND XCFUN_MAX_ORDER LESS 3)
2323
set(XCFUN_MAX_ORDER 6 CACHE STRING "Maximum order of derivatives of the exchange-correlation kernel" FORCE)
2424
endif()
2525

26-
set(PROJECT_VERSION 2.0.2)
26+
set(PROJECT_VERSION 2.1.0)
2727
set(PROJECT_VERSION_MAJOR 2)
28-
set(PROJECT_VERSION_MINOR 0)
29-
set(PROJECT_VERSION_PATCH 2)
28+
set(PROJECT_VERSION_MINOR 1)
29+
set(PROJECT_VERSION_PATCH 0)
3030

3131
set(CMAKECONFIG_INSTALL_DIR share/cmake/${PROJECT_NAME} CACHE PATH "Installation directory for CMake files")
3232

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
author = 'Ulf Ekström and contributors'
2626

2727
# The full version, including alpha/beta/rc tags
28-
release = '2.0.2'
28+
release = '2.1.0'
2929

3030
# -- General configuration ---------------------------------------------------
3131

docs/using.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ XCFun can be installed in a `Spack
3232
spack install xcfun
3333

3434

35+
Installing using Conda
36+
----------------------
37+
38+
XCFun can be installed in a `Conda
39+
<https://docs.conda.io/>`_ environment with::
40+
41+
conda create -n myenv xcfun -c conda-forge
42+
conda activate myenv
43+
44+
The package is built with derivatives up to 8th order and includes the Python bindings.
45+
46+
3547
.. _integration:
3648

3749
Integration with your build system

examples/CXX_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else()
1616
FetchContent_Declare(xcfun_sources
1717
QUIET
1818
URL
19-
https://github.com/dftlibs/xcfun/archive/v2.0.2.tar.gz
19+
https://github.com/dftlibs/xcfun/archive/v2.1.0.tar.gz
2020
)
2121

2222
FetchContent_GetProperties(xcfun_sources)

examples/C_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else()
1616
FetchContent_Declare(xcfun_sources
1717
QUIET
1818
URL
19-
https://github.com/dftlibs/xcfun/archive/v2.0.2.tar.gz
19+
https://github.com/dftlibs/xcfun/archive/v2.1.0.tar.gz
2020
)
2121

2222
FetchContent_GetProperties(xcfun_sources)

examples/Fortran_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else()
1212
FetchContent_Declare(xcfun_sources
1313
QUIET
1414
URL
15-
https://github.com/dftlibs/xcfun/archive/v2.0.2.tar.gz
15+
https://github.com/dftlibs/xcfun/archive/v2.1.0.tar.gz
1616
)
1717

1818
FetchContent_GetProperties(xcfun_sources)

src/version_info.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
namespace xcfun {
1818
constexpr auto PROJECT_VERSION_MAJOR = 2;
19-
constexpr auto PROJECT_VERSION_MINOR = 0;
20-
constexpr auto PROJECT_VERSION_PATCH = 2;
19+
constexpr auto PROJECT_VERSION_MINOR = 1;
20+
constexpr auto PROJECT_VERSION_PATCH = 0;
2121
constexpr auto XCFun_VERSION =
2222
((PROJECT_VERSION_MAJOR << 16) | PROJECT_VERSION_MINOR | PROJECT_VERSION_PATCH);
2323

0 commit comments

Comments
 (0)