2022-06-06 02:09:15 +00:00
|
|
|
package:
|
|
|
|
name: libmpfr
|
|
|
|
version: 4.1.0
|
2023-09-01 11:31:24 +00:00
|
|
|
tag:
|
|
|
|
- library
|
2022-06-06 02:09:15 +00:00
|
|
|
source:
|
2023-04-11 14:45:12 +00:00
|
|
|
url: https://ftp.gnu.org/gnu/mpfr/mpfr-4.2.0.tar.xz
|
|
|
|
sha256: 06a378df13501248c1b2db5aa977a2c8126ae849a9d9b7be2546fb4a9c26d993
|
2022-06-06 02:09:15 +00:00
|
|
|
|
|
|
|
requirements:
|
2022-08-22 04:35:27 +00:00
|
|
|
host:
|
2022-06-06 02:09:15 +00:00
|
|
|
- libgmp
|
|
|
|
|
|
|
|
build:
|
2022-11-13 03:31:14 +00:00
|
|
|
type: static_library
|
2022-06-06 02:09:15 +00:00
|
|
|
script: |
|
|
|
|
emconfigure ./configure \
|
|
|
|
CFLAGS="-fPIC" \
|
2022-09-01 01:00:20 +00:00
|
|
|
--disable-dependency-tracking \
|
|
|
|
--disable-shared \
|
2022-06-06 02:09:15 +00:00
|
|
|
--with-gmp="${WASM_LIBRARY_DIR}" \
|
|
|
|
--prefix=${WASM_LIBRARY_DIR}
|
|
|
|
emmake make -j ${PYODIDE_JOBS:-3}
|
|
|
|
emmake make install
|