-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ECL's spkg-install for building multiple spkgs in parallel #9187
Comments
comment:1
I think we should work from #8951. |
spkg patch. Set empty |
comment:2
Attachment: trac_9187-ecl_makeflags.patch.gz I've put a new spkg at (Or should it be p1?) This is based against the package mentioned in this comment at #8951. |
comment:3
Unfortunately, there are two spkgs on #8951 and neither have the patches from #8089 and both claim in SPKG.txt to have things they do not. I intend creating a 10.4.1 package which has this, and all other relevant fixes in the one package. Since no ecl-10.4.1.spkg has been merged, this should be called ecl-10.4.1.spkg. The patch levels start at 0, not 1, but in this case as nothing has been merged, there is no need to increment the patch level. Please see #9264, which will have these changes, those which are listed as being in #8591 but are not, and also that at #8089 Dave |
comment:4
The attached patch is ok and deserves positive review. However, the .spkg attached is not ideal, as it overlooks some other changes which need merging. I think a new .spkg needs to be created, which has all the minor changes together. |
spkg patch rebased vs. #9474. |
comment:9
Attachment: trac_9187-ecl_makeflags.2.patch.gz Here's a new spkg based on #9474: http://sage.math.washington.edu/home/mpatel/trac/9187/ecl-10.2.1.p1.spkg It works for me with 4.5.rc0 + #7379 on sage.math, but I have not yet had a chance to test it on bsd.math. |
comment:10
This works for me on sage.math and on an OS X box running 10.6, in both cases building spkg's in parallel. I'm building on t2 now; if there are problems, I'll report them. |
comment:11
Replying to @qed777:
It works for me on bsd.math - at least ecl builds ok. I've not at this time completed the build, but ecl has built ok. |
comment:12
Replying to @sagetrac-drkirkby:
That's what I meant, too. The same is also true on t2 now: this version of ecl has built successfully as part of a parallel build, but the full build has several more hours to go... |
comment:13
I am testing a new build (on 64-bit ubuntu) of 4.5.rc0 + http://sage.math.washington.edu/home/mpatel/trac/9187/ecl-10.2.1.p1.spkg with SAGE_PARALLEL_SPKG_BUILD="yes" (which I have never tried before) and will report back. Though these ecl tickets are so confusing that I am not sure this will tell anyone anything useful, I thought it would be fun. (The other users of the machine may not agree, of course!) |
comment:14
Replying to @JohnCremona:
I think you test results will be very useful, as there is a distinct lack of direct evidence for this working on Linux. There is evidence it is working on OS X and Solaris. You also need to export MAKE, with something like $ export MAKE="make -j6" or however many threads you want. Do not put a space between the 'j' and the '6'. Dave |
comment:17
Replying to @sagetrac-drkirkby:
It's ok, I knew that...
... and that. 83 spkgs now installed and counting....
|
Reviewer: John Palmieri, John Cremona |
comment:18
I built this successfully on sage.math earlier. I'm willing to give it a positive review right now. John (Cremona): I'll give you the last word. If everything works for you, could you give this a positive review? |
comment:19
I think this ecl-10.2.1.p1.spkg can be merged into rc1, but could you MacOS X testers check which version of Boehm GC is used during install (i.e., the one shipped with Sage or the one included in ECL)? $ grep -i boehm spkg/logs/ecl-10.2.1.p1.log | head -n 2 should show soemthing like
or
(The latter is from Dave's install log on bsd.math/MacOS X 10.4.0.) |
comment:20
Replying to @jhpalmieri:
It finished building, now building docs. Then I'll do a ptestlong and report back -- currently I don't know if what was built actually works! |
comment:21
On my OS X box, it says:
I'm not an expert in these things, but in src/src/configure, it says:
which leads me to believe that on OS X, it will be a little work to use Sage's installation of boehm_gc. I think this should go on a follow-up ticket, and it should probably be done in coordination with the ecl people. |
comment:22
(That is, on OS X, it looks like any setting to the |
comment:23
Replying to @jhpalmieri:
That's odd, since Sage's Boehm GC includes a patch for MacOS X 10.6. I agree we should open a new ticket for that and perhaps include a p2 spkg in 4.5.rc2(?), 4.5.final or 4.5.1. The package has to be cleaned up anyway, and perhaps we switch back to ECL 10.4.1. |
comment:24
Replying to @nexttime:
4.5.1. |
comment:25
Replying to @rlmill:
That's what I meant by changing the milestone rather than the priority. ;-) |
comment:26
Replying to @JohnCremona:
All tests passed == +++ |
Merged: sage-4.5.rc1 |
comment:27
Merged http://sage.math.washington.edu/home/mpatel/trac/9187/ecl-10.2.1.p1.spkg |
comment:28
Replying to @nexttime:
Just for the record: The patch just avoids a dumb deprecation error(!), and it is already included in ECL's Boehm GC (otherwise ECL wouldn't have built on MacOS X 10.6). |
comment:29
For a 4.5 final, we should remove the unnecessary baggage, though (as
|
comment:30
Replying to @nexttime:
That's up to Robert, but I tend to feel saving about 840 KB is of relatively low importance, and can be left for 4.5.1. Especially considering there is a new version of ECL available, and we would expect to resolve the ECL/Maxima issues some time in the near future. So the ecl package will probably be updated for 4.5.1. Dave |
comment:31
Replying to @nexttime:
Please open a ticket and make a p2 with only these changes. I think it's too late for 4.5. |
comment:32
Replying to @rlmill:
Ticket up at #9493. I unfortunately cannot upload an spkg because I don't have an account on sage.math. (Perhaps I'll ask again someone to upload it from an e-mail attachment, but it's still fairly large.) |
To build ECL with
SAGE_PARALLEL_SPKG_BUILD="yes"
on Mac OS X, we need to add, e.g.,MAKEFLAGS= export MAKEFLAGS
to the package's
spkg-install
.Please see #8306 about building spkgs in parallel. For
MAKEFLAGS
, see the GNU Make manual.CC: @sagetrac-drkirkby @jhpalmieri @nexttime @jaapspies
Component: packages: standard
Author: Mitesh Patel
Reviewer: John Palmieri, John Cremona
Merged: sage-4.5.rc1
Issue created by migration from https://trac.sagemath.org/ticket/9187
The text was updated successfully, but these errors were encountered: