Skip to content

Commit

Permalink
Merge pull request #94 from SylvainCorlay/update-xtensor
Browse files Browse the repository at this point in the history
Update to xtensor 0.19
  • Loading branch information
SylvainCorlay committed Dec 5, 2018
2 parents 3414dd2 + b0d95a8 commit 910c183
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda install xtensor=0.18.3 -c conda-forge
- conda install xtensor=0.19.0 -c conda-forge
- conda install gtest cmake -c conda-forge
- conda install m2w64-openblas -c msys2
# Patch OpenBLASConfig.cmake
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ install:
- conda info -a
- conda install gtest cmake -c conda-forge
# Install xtensor and BLAS
- conda install xtensor=0.18.3 -c conda-forge
- conda install xtensor=0.19.0 -c conda-forge
- if [[ "$BLAS" == "OpenBLAS" ]]; then
conda install openblas -c conda-forge;
elif [[ "$BLAS" == "mkl" ]]; then
Expand Down
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ set(XTENSOR_BLAS_INCLUDE_DIR ${INCLUDE_DIR})
# Configuration
# =============

# TODO: use the library directory of the found BLAS implementation instead of CMAKE_INSTALL_LIBDIR
# TODO: use the library directory of the found BLAS implementation instead of
# CMAKE_INSTALL_LIBDIR
set(XTENSOR_BLAS_CLING_LIBRARY_DIR_64 "\"${CMAKE_INSTALL_PREFIX}/lib64\"")
set(XTENSOR_BLAS_CLING_LIBRARY_DIR_32 "\"${CMAKE_INSTALL_PREFIX}/lib32\"")
set(XTENSOR_BLAS_CLING_LIBRARY_DIR "\"${CMAKE_INSTALL_PREFIX}/lib\"")
Expand All @@ -42,7 +43,7 @@ message(STATUS "xtensor-blas v${${PROJECT_NAME}_VERSION}")
# Dependencies
# ============

find_package(xtensor REQUIRED)
find_package(xtensor 0.19 REQUIRED)
message(STATUS "Found xtensor: ${xtensor_INCLUDE_DIRS}/xensor")

# Build
Expand Down

0 comments on commit 910c183

Please sign in to comment.