Skip to content
Draft

Add ntl #4990

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions recipes/recipes_emscripten/ntl/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mkdir -p $PREFIX

cd src
./configure DEF_PREFIX="$PREFIX" SHARED=off NTL_GMP_LIP=on NTL_GF2X_LIB=off
make
make install
33 changes: 33 additions & 0 deletions recipes/recipes_emscripten/ntl/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
context:
version: 11.6.0

package:
name: ntl
version: ${{ version }}

source:
url: https://libntl.org/ntl-${{ version }}.tar.gz
sha256: bc0ef9aceb075a6a0673ac8d8f47d5f8458c72fe806e4468fbd5d3daff056182

build:
number: 0

requirements:
build:
- ${{ compiler("cxx") }}
- gmp

tests:
- package_contents:
files:
- lib/libntl.a

about:
license: LGPL-2.1-or-later
license_file: README
summary: Library for number theory
homepage: https://libntl.org/

extra:
recipe-maintainers:
- mkoeppe