forked from conda-forge/staged-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request conda-forge#9678 from janniklasrose/trng
Add TRNG
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{% set name = "trng" %} | ||
{% set version = "4.21" %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://www.numbercrunch.de/{{ name }}/{{ name }}-{{ version }}.tar.gz | ||
sha256: 03f9fbbb2b99fa12cc9f7a6b768089bc62895da89cc2578d94c86c67840e560c | ||
|
||
build: | ||
number: 0 | ||
skip: True # [win] | ||
script: "./configure --prefix=$PREFIX && make install" | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('cxx') }} | ||
- make | ||
|
||
test: | ||
commands: | ||
# library | ||
- test -f $PREFIX/lib/lib{{ name }}{{ version[0] }}.a # [unix] | ||
- test -f $PREFIX/lib/lib{{ name }}{{ version[0] }}${SHLIB_EXT} # [unix] | ||
- conda inspect linkages $PKG_NAME # [unix] | ||
- conda inspect objects $PKG_NAME # [osx] | ||
# header (too many .hpp files, so only test for the directory) | ||
- test -d $PREFIX/include/{{ name }} # [unix] | ||
|
||
about: | ||
home: http://www.numbercrunch.de/trng | ||
license: BSD-3-Clause | ||
license_family: BSD | ||
license_file: COPYING | ||
summary: "pseudo-random number generator library" | ||
description: "Tina's Random Number Generator Library (TRNG) | ||
is a state of the art C++ pseudo-random number generator library for | ||
sequential and parallel Monte Carlo simulations. Its design principles are | ||
based on a proposal for an extensible random number generator facility, | ||
that has become part of the C++11 standard. | ||
The TRNG library features an object oriented design, is easy to use and | ||
has been speed optimized. Its implementation does not depend on any | ||
communication library or hardware architecture. TRNG is suited for shared | ||
memory as well as for distributed memory computers and may be used in any | ||
parallel programming environment, e.g. Message Passing Standard, OpenMP or | ||
CUDA. All generators, that are implemented by TRNG, have been subjected to | ||
thorough statistical tests in sequential and parallel setups." | ||
doc_url: https://www.numbercrunch.de/trng/#docu | ||
dev_url: https://github.com/rabauke/trng4 | ||
|
||
extra: | ||
recipe-maintainers: | ||
- janniklasrose |