Changes between Initial Version and Version 4 of Ticket #12433


Ignore:
Timestamp:
04/08/12 12:58:19 (10 years ago)
Author:
leif
Comment:

Ok, here's something to review... :P

Left a few TODOs, as well as a lot of (hopefully obsolete) code I just commented out right now.

I've attached diffs between the p5, p6 and p7 spkgs, and the new patch to makemakefile.py, too, for easier reviewing. (You don't have to apply any of these.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12433

    • Property Status changed from new to needs_review
    • Property Authors changed from to R. Andrew Ohana, Leif Leonhardy
    • Property Component changed from build to packages
    • Property Summary changed from make zn_poly respect global CC flag to Make zn_poly respect the CC environment variable (and clean up the spkg)
    • Property Keywords spkg hardcoded hard-coded CC CXX compiler added
    • Property Reviewers changed from to Leif Leonhardy
  • Ticket #12433 – Description

    initial v4  
    1 The zn_poly spkg currently does not respect the global CC flag, we should fix this (for instance for #12426).
     1The zn_poly spkg currently does not respect the `CC` environment variable, we should fix this (for instance for #12426).
    22
    3 I've posted an spkg at [http://wstein.org/home/ohanar/clang-port/sage-5.0.beta1-src/spkg/standard/zn_poly-0.9.p6.spkg].
     3I've posted an spkg at [http://wstein.org/home/ohanar/clang-port/sage-5.0.beta1-src/spkg/standard/zn_poly-0.9.p6.spkg]. (Andrew)
     4
     5There's also still the obsolete Debian `dist/` directory, and the spkg can be improved in many ways.
     6
     7----
     8
     9'''New spkg:''' [http://boxen.math.washington.edu/home/leif/Sage/spkgs/zn_poly-0.9.p7.spkg]
     10
     11'''md5sum:''' `068cc74a5ac55bdfd74653e26be69964  zn_poly-0.9.p7.spkg`
     12
     13
     14=== zn_poly-0.9.p7 (Leif Leonhardy, April 8th, 2012) ===
     15 * #12433: Reviewer changes.
     16 * Restore upstream sources. (One file in `src/tune/` was already patched.)
     17 * Remove the obsolete Debian `dist/` directory.
     18 * Use `patch` to apply the patches.
     19 * Remove `patches/` from `.hgignore`! (And remove the prepatched files.)
     20 * Add Python to the dependencies, since (some) Python is needed to create
     21   the Makefile during build / `configure`.  (`spkg/standard/deps` already
     22   reflects this.)
     23 * Rework (upstream's) `makemakefile.py` to create a proper Makefile,
     24   respecting `CC`, `CXX`, `CFLAGS`, `CXXFLAGS`, `CPPFLAGS` etc. with their
     25   *usual* meaning (i.e., not using `CPP` to compile C++!), and using `LDFLAGS`
     26   consistently, also not hardcoding e.g. `-m64` (which was added by Sage).
     27 * Do not add `-O3` to `CFLAGS` (in `spkg-install`) without the possibility to
     28   get overridden by user-provided `CFLAGS`.  Also honor `SAGE_DEBUG=yes` by
     29   completely disabling optimization in that case.
     30 * Fix typo in `spkg-check`, which certainly would break building the test
     31   program when `SAGE64=yes`.  (Although it is actually already built from
     32   within `spkg-install`.)
     33 * Clean up `spkg-install` and `spkg-check`; redirect error messages to
     34   `stderr`, add more error checks, use `$MAKE` in `spkg-check` as well,
     35   quote more environment variables, use `cp [-f]` instead of `$CP`, don't
     36   create an absolute symbolic link on Cygwin.
     37
     38=== zn_poly-0.9.p6 (R. Andrew Ohana, February 4th, 2012) ===
     39 * #12433: Make spkg respect global CC flag
     40