pyodide/packages/libgmp/meta.yaml

18 lines
389 B
YAML

package:
name: libgmp
version: 6.2.1
source:
url: https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
sha256: fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2
build:
library: true
script: |
emconfigure ./configure \
CFLAGS="-fPIC" \
--host none \
--prefix=${WASM_LIBRARY_DIR}
emmake make -j ${PYODIDE_JOBS:-3}
emmake make install