Opened 15 years ago

Closed 15 years ago

#2533 closed defect (fixed)

[with patch, positive review] add "-p" flag to $CP for make install

Reported by: Michael Abshoff Owned by: Michael Abshoff
Priority: major Milestone: sage-2.10.4
Component: build Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

On Saturday 15 March 2008, Paul Zimmermann wrote:
>        Hi,

> I wonder why sage -br takes so much time after a fresh build from source
> and make install. Normally, since everything was just compiled, it should
> have nothing to do. I guess the reason lies in:

>    bash-3.00$ make install DESTDIR=/usr/local/sage-2.10.3 -n
>    ...
>    cp -rv * /usr/local/sage-2.10.3/sage/
>    ...

> where 'cp' does not preserve the dates of the files, and thus the correct
> dependencies are lost. Maybe "mv * /usr/local/sage-2.10.3/sage/" would
> solve that problem?

Or use
    cp -prv * ...
the -p option preserve timestamps.

Bill

Attachments (1)

trac_2533.patch (380 bytes) - added by Michael Abshoff 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Michael Abshoff

Attachment: trac_2533.patch added

comment:1 Changed 15 years ago by Michael Abshoff

Status: newassigned
Summary: add "-p" flag to $CP for make install[with patch, needs trivial review] add "-p" flag to $CP for make install

comment:2 Changed 15 years ago by Mike Hansen

Summary: [with patch, needs trivial review] add "-p" flag to $CP for make install[with patch, positive review] add "-p" flag to $CP for make install

Looks good to me.

comment:3 Changed 15 years ago by Michael Abshoff

Resolution: fixed
Status: assignedclosed

Merged in Sage 2.10.4.rc0

Note: See TracTickets for help on using tickets.