Skip to content

Commit

Permalink
Merge pull request #700 from glotzerlab/release/2.4.1
Browse files Browse the repository at this point in the history
Release/2.4.1
  • Loading branch information
bdice committed Nov 17, 2020
2 parents c2574b5 + 5f6137a commit ce5cb92
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 25 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ references:
windows_env: &windows_env
PYTHON: "python"
TBB_INCLUDE: "C:\\tools\\miniconda3\\Library\\include"
TBB_LINK: "C:\\tools\\miniconda3\\Library\\lib"
TBBROOT: "C:\\tools\\miniconda3\\Library"

build_windows: &build_windows
run:
Expand Down
8 changes: 4 additions & 4 deletions CMake/FindTBB.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
find_path(TBB_INCLUDE_DIR tbb/tbb.h HINTS $ENV{TBB_ROOT}/include
$ENV{TBB_INCLUDE})
find_path(TBB_INCLUDE_DIR tbb/tbb.h HINTS $ENV{TBBROOT}/include
$ENV{TBB_INCLUDE_DIR})

# Check OS-specific env variables for libraries.
if(DEFINED ENV{LD_LIBRARY_PATH})
Expand All @@ -12,8 +12,8 @@ else()
set(LD_LIBRARY_DIR_LIST "")
endif()

find_library(TBB_LIBRARY tbb HINTS ${TBB_INCLUDE_DIR}/../lib
${LD_LIBRARY_DIR_LIST} $ENV{TBB_LINK})
find_library(TBB_LIBRARY tbb HINTS $ENV{TBBROOT}/lib ${LD_LIBRARY_DIR_LIST}
${TBB_INCLUDE_DIR}/../lib)

if(TBB_INCLUDE_DIR AND EXISTS "${TBB_INCLUDE_DIR}/tbb/tbb_stddef.h")
file(STRINGS "${TBB_INCLUDE_DIR}/tbb/tbb_stddef.h" TBB_H
Expand Down
2 changes: 1 addition & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The format is based on
and this project adheres to
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## v2.x.x - 20xx-xx-xx
## v2.4.1 - 2020-11-16

### Fixed
* Python 3.8 builds with Windows MSVC were broken due to an unrecognized CMake compiler option.
Expand Down
6 changes: 3 additions & 3 deletions contributors.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
2060 Vyas Ramasubramani <vramasub@umich.edu>
1729 Bradley Dice <bdice@bradleydice.com>
2066 Vyas Ramasubramani <vramasub@umich.edu>
1773 Bradley Dice <bdice@bradleydice.com>
1030 Eric Harper <harperic@umich.edu>
456 Jin Soo Ihm <jinihm@umich.edu>
278 Joshua A. Anderson <joaander@umich.edu>
240 Matthew Spellings <mspells@umich.edu>
155 Kelly Wang <kelwang@umich.edu>
159 Kelly Wang <kelwang@umich.edu>
110 Erin Teich <erteich@umich.edu>
66 M. Eric Irrgang <eirrgang@umich.edu>
53 Chrisy Du <xiyudu@umich.edu>
Expand Down
4 changes: 2 additions & 2 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
# built documents.
#
# version and release are set the same for this package.
version = '2.4.0'
release = '2.4.0'
version = '2.4.1'
release = '2.4.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
15 changes: 5 additions & 10 deletions doc/source/gettingstarted/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ You can also build **freud** in place so that you can run from within the folder
python setup.py build_ext --inplace
Building **freud** in place has certain advantages, since it does not affect your Python behavior except within the **freud** directory itself (where **freud** can be imported after building).
Additionally, due to limitations inherent to the distutils/setuptools infrastructure, building extension modules can only be parallelized using the build_ext subcommand of setup.py, not with install.
As a result, it will be faster to manually run build_ext and then install (which normally calls build_ext under the hood anyway) the built packages.

CMake Options
+++++++++++++
Expand All @@ -107,17 +105,14 @@ The **freud** CMake configuration also respects the following environment variab

.. glossary::

TBB_ROOT
TBBROOT
The root directory where TBB is installed.
Useful if TBB is installed in a non-standard location or cannot be located by Python for some other reason.
Useful if TBB is installed in a non-standard location or cannot be located for some other reason.
This variable is set by the ``tbbvars.sh`` script included with TBB when building from source.

TBB_INCLUDE
TBB_INCLUDE_DIR
The directory where the TBB headers (e.g. ``tbb.h``) are located.
Useful if TBB is installed in a non-standard location or cannot be located by Python for some other reason.

TBB_LINK
The directory where the TBB shared library (e.g. ``libtbb.so`` or ``libtbb.dylib``) is located.
Useful if TBB is installed in a non-standard location or cannot be located by Python for some other reason.
Useful if TBB is installed in a non-standard location or cannot be located for some other reason.

.. note::

Expand Down
2 changes: 1 addition & 1 deletion freud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# automatic selection runs, the user cannot change it.
set_num_threads(0)

__version__ = '2.4.0'
__version__ = '2.4.1'

__all__ = [
'__version__',
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.4.0
current_version = 2.4.1
commit = True
tag = True
message = Bump up to version {new_version}.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
from skbuild import setup as skbuild_setup

version = '2.4.0'
version = '2.4.1'

# Read README for PyPI, fallback to short description if it fails.
desc = 'Powerful, efficient trajectory analysis in scientific Python.'
Expand Down

0 comments on commit ce5cb92

Please sign in to comment.