diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-04-22 20:10:44 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-04-22 20:10:44 -0700 |
commit | b0ebf843ce862f8448aad85e61cc1b3727745fd0 (patch) | |
tree | 47b934781729c5d2143de03eb8021521771c500f /mpi-patches/mpi-set-mpi-word | |
parent | 790cbdccac0540d2af12438fc7bccef2e17bc124 (diff) | |
download | txr-b0ebf843ce862f8448aad85e61cc1b3727745fd0.tar.gz txr-b0ebf843ce862f8448aad85e61cc1b3727745fd0.tar.bz2 txr-b0ebf843ce862f8448aad85e61cc1b3727745fd0.zip |
Switch to in-tree mpi directory.
* Makefile (CFLAGS, MPI_OBJS): Refer to mpi directory without version
number.
(repatch): Target removed.
(distclean): Don't try to remove old unpacked tarball mpi directory.
* configure (mpi_version, have_quilt, have_patch): Variables removed.
(gen_config_make): Do not generate mpi_version make variable.
Do not test for quilt or patch. No longer extract MPI tarball or
try to apply patches.
* mpi-1.8.6.tar.gz: File removed.
* mpi-patches: Directory and all files under it removed.
Diffstat (limited to 'mpi-patches/mpi-set-mpi-word')
-rw-r--r-- | mpi-patches/mpi-set-mpi-word | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/mpi-patches/mpi-set-mpi-word b/mpi-patches/mpi-set-mpi-word deleted file mode 100644 index b696037e..00000000 --- a/mpi-patches/mpi-set-mpi-word +++ /dev/null @@ -1,32 +0,0 @@ -Index: mpi-1.8.6/mpi.c -=================================================================== ---- mpi-1.8.6.orig/mpi.c 2015-02-07 19:32:53.524604501 -0800 -+++ mpi-1.8.6/mpi.c 2015-02-07 19:32:56.016560235 -0800 -@@ -571,6 +571,15 @@ - return MP_OKAY; - } - -+mp_err mp_set_word(mp_int *mp, mp_word w, int sign) -+{ -+ USED(mp) = 2; -+ DIGIT(mp, 0) = w & MP_DIGIT_MAX; -+ DIGIT(mp, 1) = w >> MP_DIGIT_BIT; -+ SIGN(mp) = sign; -+ return MP_OKAY; -+} -+ - /*------------------------------------------------------------------------*/ - /* {{{ Digit arithmetic */ - -Index: mpi-1.8.6/mpi.h -=================================================================== ---- mpi-1.8.6.orig/mpi.h 2015-02-07 19:32:48.892686392 -0800 -+++ mpi-1.8.6/mpi.h 2015-02-07 19:32:56.016560235 -0800 -@@ -100,6 +100,7 @@ - mp_err mp_set_int(mp_int *mp, long z); - mp_err mp_set_intptr(mp_int *mp, int_ptr_t z); - mp_err mp_get_intptr(mp_int *mp, int_ptr_t *z); -+mp_err mp_set_word(mp_int *mp, mp_word w, int sign); - - /*------------------------------------------------------------------------*/ - /* Single digit arithmetic */ |