texlive[56961] Build/source/texk/web2c: mp-tangle dependencies so

commits+karl at tug.org commits+karl at tug.org
Thu Nov 19 00:54:17 CET 2020


Revision: 56961
          http://tug.org/svn/texlive?view=revision&revision=56961
Author:   karl
Date:     2020-11-19 00:54:17 +0100 (Thu, 19 Nov 2020)
Log Message:
-----------
mp-tangle dependencies so mplib.h is (hopefully) built before being #included

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/Makefile.in
    trunk/Build/source/texk/web2c/mplibdir/ChangeLog
    trunk/Build/source/texk/web2c/mplibdir/am/libmplib.am

Modified: trunk/Build/source/texk/web2c/Makefile.in
===================================================================
--- trunk/Build/source/texk/web2c/Makefile.in	2020-11-18 22:07:01 UTC (rev 56960)
+++ trunk/Build/source/texk/web2c/Makefile.in	2020-11-18 23:54:17 UTC (rev 56961)
@@ -18314,22 +18314,22 @@
 mp-tangle: ctangle$(EXEEXT) mplibdir/mp.w tangle-sh
 	@$(mp_ctangle_sh) mp
 
-$(mpmath_c_h): mpmath-tangle
+$(mpmath_c_h): mpmath-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmath
 mpmath-tangle: ctangle$(EXEEXT) mplibdir/mpmath.w tangle-sh
 	@$(mp_ctangle_sh) mpmath
 
-$(mpmathbinary_c_h): mpmathbinary-tangle
+$(mpmathbinary_c_h): mpmathbinary-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmathbinary
 mpmathbinary-tangle: ctangle$(EXEEXT) mplibdir/mpmathbinary.w tangle-sh
 	@$(mp_ctangle_sh) mpmathbinary
 
-$(mpmathdecimal_c_h): mpmathdecimal-tangle
+$(mpmathdecimal_c_h): mpmathdecimal-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmathdecimal
 mpmathdecimal-tangle: ctangle$(EXEEXT) mplibdir/mpmathdecimal.w tangle-sh
 	@$(mp_ctangle_sh) mpmathdecimal
 
-$(mpmathdouble_c_h): mpmathdouble-tangle
+$(mpmathdouble_c_h): mpmathdouble-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmathdouble
 mpmathdouble-tangle: ctangle$(EXEEXT) mplibdir/mpmathdouble.w tangle-sh
 	@$(mp_ctangle_sh) mpmathdouble

Modified: trunk/Build/source/texk/web2c/mplibdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/ChangeLog	2020-11-18 22:07:01 UTC (rev 56960)
+++ trunk/Build/source/texk/web2c/mplibdir/ChangeLog	2020-11-18 23:54:17 UTC (rev 56961)
@@ -1,3 +1,12 @@
+2020-11-18  Luigi Scarso  <luigi.scarso at gmail.com>
+
+	* am/libmplib.am (mpmath{,binary,decimal,double}_c_h): depend
+	on mp-tangle to try to pacify high parallelism (make -k8), which
+	Norbert reports can get
+../../../texk/web2c/mplibdir/mpmathbinary.w:38:10: fatal error: mplib.h: No such file or directory
+   38 | #include "mplib.h"
+        (per https://spot.fedorapeople.org/texlive-base-build.log).
+
 2020-08-21  Luigi Scarso  <luigi.scarso at gmail.com>
 	* Changed epsilon in binary and decimal mode from 1E-52 to
           2^-173 =~0.835E-52, so that mp_solve_rising_cubic now works as

Modified: trunk/Build/source/texk/web2c/mplibdir/am/libmplib.am
===================================================================
--- trunk/Build/source/texk/web2c/mplibdir/am/libmplib.am	2020-11-18 22:07:01 UTC (rev 56960)
+++ trunk/Build/source/texk/web2c/mplibdir/am/libmplib.am	2020-11-18 23:54:17 UTC (rev 56961)
@@ -1,5 +1,6 @@
 ## texk/web2c/mplibdir/am/libmplib.am: Makefile fragment for libmplib.
 ##
+## Copyright (C) 2015-2020 Luigi Scarso <tex-live at tug.org>
 ## Copyright (C) 2009-2014 Peter Breitenlohner <tex-live at tug.org>
 ## You may freely use, modify and/or distribute this file.
 
@@ -41,22 +42,22 @@
 mp-tangle: ctangle$(EXEEXT) mplibdir/mp.w tangle-sh
 	@$(mp_ctangle_sh) mp
 
-$(mpmath_c_h): mpmath-tangle
+$(mpmath_c_h): mpmath-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmath
 mpmath-tangle: ctangle$(EXEEXT) mplibdir/mpmath.w tangle-sh
 	@$(mp_ctangle_sh) mpmath
 
-$(mpmathbinary_c_h): mpmathbinary-tangle
+$(mpmathbinary_c_h): mpmathbinary-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmathbinary
 mpmathbinary-tangle: ctangle$(EXEEXT) mplibdir/mpmathbinary.w tangle-sh
 	@$(mp_ctangle_sh) mpmathbinary
 
-$(mpmathdecimal_c_h): mpmathdecimal-tangle
+$(mpmathdecimal_c_h): mpmathdecimal-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmathdecimal
 mpmathdecimal-tangle: ctangle$(EXEEXT) mplibdir/mpmathdecimal.w tangle-sh
 	@$(mp_ctangle_sh) mpmathdecimal
 
-$(mpmathdouble_c_h): mpmathdouble-tangle
+$(mpmathdouble_c_h): mpmathdouble-tangle mp-tangle
 	@$(mp_ctangle_sh) mpmathdouble
 mpmathdouble-tangle: ctangle$(EXEEXT) mplibdir/mpmathdouble.w tangle-sh
 	@$(mp_ctangle_sh) mpmathdouble



More information about the tex-live-commits mailing list.