Created
October 16, 2023 21:40
-
-
Save GrayJack/9d12d62a45940512ac3b7070654039c5 to your computer and use it in GitHub Desktop.
xtensor recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
context: | |
name: xtensor | |
version: 0.24.6 | |
sha256: f87259b51aabafdd1183947747edfff4cff75d55375334f2e81cee6dc68ef655 | |
package: | |
name: ${{ name|lower }} | |
version: ${{ version }} | |
source: | |
url: https://github.com/xtensor-stack/xtensor/archive/${{ version }}.tar.gz | |
sha256: ${{ sha256 }} | |
build: | |
number: 0 | |
# note: in the new recipe format, `skip` is a list of conditional expressions | |
# but for the "YAML format" discussion we pretend that we still use the | |
# `skip: bool` syntax | |
skip: ${{ true if (win and vc14) }} | |
requirements: | |
build: | |
- ${{ compiler('cxx') }} | |
- cmake | |
- if: unix | |
then: make | |
host: | |
- xtl >=0.7,<0.8 | |
run: | |
- xtl >=0.7,<0.8 | |
run_constrained: | |
- xsimd >=8.0.3,<10 | |
test: | |
commands: | |
- if: unix or emscripten | |
then: | |
- test -d ${PREFIX}/include/xtensor | |
- test -f ${PREFIX}/include/xtensor/xarray.hpp | |
- test -f ${PREFIX}/share/cmake/xtensor/xtensorConfig.cmake | |
- test -f ${PREFIX}/share/cmake/xtensor/xtensorConfigVersion.cmake | |
- if: win | |
then: | |
- if not exist %LIBRARY_PREFIX%\include\xtensor\xarray.hpp (exit 1) | |
- if not exist %LIBRARY_PREFIX%\share\cmake\xtensor\xtensorConfig.cmake (exit 1) | |
- if not exist %LIBRARY_PREFIX%\share\cmake\xtensor\xtensorConfigVersion.cmake (exit 1) | |
about: | |
home: https://github.com/xtensor-stack/xtensor | |
license: BSD-3-Clause | |
license_family: BSD | |
license_file: LICENSE | |
summary: The C++ tensor algebra library | |
description: Multi dimensional arrays with broadcasting and lazy computing | |
doc_url: https://xtensor.readthedocs.io | |
dev_url: https://github.com/xtensor-stack/xtensor | |
extra: | |
recipe-maintainers: | |
- some-maintainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment