Re: Improving the build performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 28, 2018 at 01:04:42PM -0400, Erwan Velu wrote:
> After a review with Kefu, it appear the BUILD_DATE is perfectly useless here.
> 
> So only this part is necessary to get the ccache working better:
>     
>     export SOURCE_DATE_EPOCH=$(date +%D |date -f- +%s);
This may fail in some locales where %D is not trivially parsable.

Can I suggest this instead:
export SOURCE_DATE_EPOCH=$(date -d 'today 00:00 UTC' +%s)

-- 
Robin Hugh Johnson
Gentoo Linux: Dev, Infra Lead, Foundation Treasurer
E-Mail   : robbat2@xxxxxxxxxx
GnuPG FP : 11ACBA4F 4778E3F6 E4EDF38E B27B944E 34884E85
GnuPG FP : 7D0B3CEB E9B85B1F 825BCECF EE05E6F6 A48F6136

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux