mirror of https://github.com/pyodide/pyodide.git
21 lines
489 B
YAML
21 lines
489 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:
|
|
type: static_library
|
|
script: |
|
|
emconfigure ./configure \
|
|
CFLAGS="-fPIC" \
|
|
--disable-dependency-tracking \
|
|
--host none \
|
|
--disable-shared \
|
|
--enable-static \
|
|
--prefix=${WASM_LIBRARY_DIR}
|
|
emmake make -j ${PYODIDE_JOBS:-3}
|
|
emmake make install
|