The Sage way is to create a patch in build/pkgs/mpir/patches which removes said file(s).
You can also untar the tarball in upstream/, remove files, tar it up again, run ./sage --package fix-checksum And then rebuild the package with ./sage -f mpir Please feel free to open a trac ticket on this. On Friday, October 20, 2017 at 7:01:03 PM UTC+1, Andrew wrote: > > What is the recommended way to delete these three files? I have tried > deleting these files from > $SAGE_ROOT/local/var/tmp/sage/build/mpir-3.0.0.p0/src/mpn/x86_64w/skylake/avx > eitehr after a make, and then remaking, or during the build from the > makefile but I never get mpir to build. It would be nice to have a working > version of sage again... > > Andrew > > On Wednesday, 13 September 2017 22:28:29 UTC+2, Robert Jacobson wrote: >> >> I'm having the same issue. To get MPIR to compile I had to remove all >> three of >> >> mpn/x86_64/skylake/avx/addmul_1.asm >> mpn/x86_64/skylake/avx/mul_basecase.asm >> mpn/x86_64/skylake/avx/sqr_basecase.asm >> >> >> Thanks for working on this, Bill. >> >> Best, >> >> Robert >> >> >> On Wednesday, 6 September 2017 21:44:21 UTC-4, Bill Hart wrote: >>> >>> That's right. For now that is the only workaround. We know what the >>> problem is now, but don't have a working patch to fix it. It's the JMPENT >>> macro in mpn/x86_64/x86_64-defs.m4 that doesn't work on 64 bit OSX. >>> >>> Details of the issue can be found here, I believe [1]. >>> >>> Bill. >>> >>> [1] https://gmplib.org/list-archives/gmp-bugs/2012-December/002836.html >>> >>> On Tuesday, 22 August 2017 19:37:50 UTC+2, Alex J Best wrote: >>>> >>>> As the problem is skylake I assume mpn/x86_64/skylake/avx/addmul_1.asm >>>> is the one to patch out. >>>> >>>> On Monday, August 21, 2017 at 11:51:28 AM UTC-4, Dima Pasechnik wrote: >>>>> >>>>> >>>>> >>>>> On Monday, August 21, 2017 at 4:15:29 PM UTC+1, Michael Frey wrote: >>>>>> >>>>>> What is the best way to do this? The file is extracted from the >>>>>> mpir-3.0.0.tar.bz2 every time make is run. >>>>>> >>>>> >>>>> the standard way would be to add the patch removing this file (which >>>>> one exactly, there are few files named so?) >>>>> build/pkgs/mpir/patches/ >>>>> >>>>> >>>>> >>>>>> On Wednesday, August 2, 2017 at 5:41:01 PM UTC-4, Bill Hart wrote: >>>>>>> >>>>>>> The only workaround I'm currently aware of is to remove the >>>>>>> offending addmul_1.asm file. It is to do with our use of jump tables. >>>>>>> >>>>>>> >>>>>>>>> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.