| | |
| | | # Copyright 2021,2022 David Stes |
| | | # |
| | | |
| | | |
| | | # |
| | | # Package Makefile for the "Pari/GP" Computer Algebra System |
| | | # See https://pari.math.u-bordeaux.fr |
| | | # |
| | | |
| | | include ../../../make-rules/shared-macros.mk |
| | | |
| | | COMPONENT_NAME= pari |
| | | COMPONENT_VERSION= 2.15.4 |
| | | COMPONENT_VERSION= 2.15.5 |
| | | COMPONENT_SUMMARY= The PARI Computer Algebra System |
| | | COMPONENT_PROJECT_URL= https://pari.math.u-bordeaux.fr |
| | | COMPONENT_SRC= pari-$(COMPONENT_VERSION) |
| | | COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
| | | COMPONENT_ARCHIVE_HASH= sha256:c3545bfee0c6dfb40b77fb4bbabaf999d82e60069b9f6d28bcb6cf004c8c5c0f |
| | | COMPONENT_ARCHIVE_HASH= sha256:0efdda7515d9d954f63324c34b34c560e60f73a81c3924a71260a2cc91d5f981 |
| | | COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/pub/pari/unix/$(COMPONENT_ARCHIVE) |
| | | COMPONENT_FMRI= library/math/pari |
| | | COMPONENT_CLASSIFICATION= Development/Other Languages |
| | |
| | | |
| | | # Configure complains when built outside of source tree |
| | | # The PARI script config/genfunclist uses find -type f and fails on symlinks |
| | | COMPONENT_PRE_CONFIGURE_ACTION= ($(CLONEY) $(SOURCE_DIR) $(@D)) |
| | | COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) ) |
| | | |
| | | # PARI/gp Configure is not autoconf |
| | | CONFIGURE_SCRIPT= $(SOURCE_DIR)/Configure |
| | | CONFIGURE_SCRIPT= $(SOURCE_DIR)/Configure |
| | | |
| | | # reset all options because Configure does not understand --sbindir= only --dir |
| | | CONFIGURE_OPTIONS= --prefix=$(CONFIGURE_PREFIX) |
| | | CONFIGURE_OPTIONS= --prefix=$(CONFIGURE_PREFIX) |
| | | # PARI/gp installs its 64bit library in /usr/lib |
| | | CONFIGURE_OPTIONS += --libdir=$(USRLIBDIR64) |
| | | CONFIGURE_OPTIONS += --with-readline |
| | | CONFIGURE_OPTIONS += --libdir=$(USRLIBDIR64) |
| | | CONFIGURE_OPTIONS += --with-readline |
| | | |
| | | CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
| | | CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
| | | |
| | | # all does not work because documentation requires Tex typesetting |
| | | COMPONENT_BUILD_TARGETS = gp |
| | | COMPONENT_BUILD_TARGETS= gp |
| | | |
| | | # dobench is a quicktest, test-all takes more time and also compares gp-static |
| | | # try to do all regression tests but only on the dynamic executable gp-dyn |
| | | COMPONENT_TEST_TARGETS = dyntest-all |
| | | COMPONENT_TEST_TARGETS= dyntest-all |
| | | |
| | | # I believe PARI measures with test-all diffs between static and dyn linked gp |
| | | # the test script is in : src/test/dotest |