On 11 March 2006 at 21:37, Dirk Eddelbuettel wrote:
| 
| (Diethelm and Brian trimmed)
| 
| On 11 March 2006 at 20:59, Stephen R Marenka wrote:
| | On Fri, Mar 10, 2006 at 08:31:31AM -0600, Dirk Eddelbuettel wrote:
| | 
| | > Great!  We have a long and shameful history of suppressing optimisation on
| | > arm and m68k to enable complete compilation, so I will go back to -O1 for
| | > m68k.  Could you possibly push a manual build of the package?  I don't 
really
| | > want to force it through all the builders given that it just built 
everywhere
| | > else and the only change would be conditional on m68k anyway.
| | 
| | Sure, I'll get it built forthwith. At least the good news is we might
| | survive the jump to gfortran-4.0. :)
| 
| Cool, thanks.
| 
| As you'll see the debian/rules is the usual super-short stanza based on
| cdbs. I am not yet sure how best to tell to set -O1 (or even -O0).
| 
| I guess 
|       DEB_BUILD_OPTIONS=noopt
| would do, no?  (Conditional of m68k, of course).
| 
| Even then langcore.mk only sets CFLAGS and CXXFLAGS :-/
| 
| Thoughts?

Got it. R listens to its own PKG_FFLAGS, so prepending the R CMD INSTALL does
it :

        PKG_FFLAGS="-w -O0" R CMD INSTALL -l $(debRlib) --clean . 

which even activates the unused-as-set-in-FLAGS-instead-of-PKG_FFLAGS switch
-w from src/Makevars :)

Now we only need to wrap this in a test for m68k. Give me another minutes or
two.

Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to