-
-
Notifications
You must be signed in to change notification settings - Fork 18
/
meta.yaml
67 lines (58 loc) · 1.78 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{% set version = "2.7" %}
package:
name: gsl
version: {{ version }}
source:
url: http://ftp.gnu.org/gnu/gsl/gsl-{{ version }}.tar.gz
sha256: efbbf3785da0e53038be7907500628b466152dbc3c173a87de1b5eba2e23602b
patches:
# Taken from https://github.com/ampl/gsl/tree/v2.4.0
- patch_for_windows.diff # [win]
build:
number: 0
skip: true # [win and vc<14]
run_exports:
# tends to break at minor revs
# https://abi-laboratory.pro/index.php?view=timeline&l=gsl
- {{ pin_subpackage("gsl", max_pin="x.x") }}
requirements:
build:
- {{ compiler("c") }}
- autotools_clang_conda # [win]
- autoconf # [unix]
- automake # [unix]
- libtool # [unix]
- make # [unix]
host:
- libblas
- libcblas
run:
test:
files:
- test
requires:
- {{ compiler('c') }}
commands:
- gsl-config --prefix # [not win]
- if not exist %LIBRARY_LIB%\\gsl.lib exit 1 # [win]
- if not exist %LIBRARY_LIB%\\gslcblas.lib exit 1 # [win]
- if not exist %LIBRARY_BIN%\\gsl*.dll exit 1 # [win]
- ls -al $PREFIX/lib/libgsl${SHLIB_EXT} # [not win]
- ls -al $PREFIX/lib/libgslcblas${SHLIB_EXT} # [not win]
- ls -al $PREFIX/lib/libgslcblas.0.dylib # [osx]
- ls -al $PREFIX/lib/libgsl.*.dylib # [osx]
- ls -al $PREFIX/lib/libgslcblas.so.0 # [linux]
- ls -al $PREFIX/lib/libgsl.so.* # [linux]
about:
home: http://www.gnu.org/software/gsl/
license: GPL-3.0-or-later
license_file:
- COPYING
- getopt_LICENSE.txt # [win]
summary: GNU Scientific Library
extra:
recipe-maintainers:
- kwilcox
- mingwandroid
- ocefpaf
- traversaro