Opened 11 years ago

Last modified 10 years ago

#13032 closed enhancement

Add ccache and f90cache as standard spkgs — at Version 17

Reported by: R. Andrew Ohana Owned by: Georg S. Weber
Priority: major Milestone: sage-5.6
Component: packages: optional Keywords: sd40.5
Cc: Keshav Kini, Robert Bradshaw, Punarbasu Purkayastha, Jeroen Demeyer Merged in:
Authors: R. Andrew Ohana Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #13040 #13044 Stopgaps:

Status badges

Description (last modified by R. Andrew Ohana)

This is needed to eliminate build time when switching between various branches in the git based workflow.

Installation:

Change History (17)

comment:1 Changed 11 years ago by R. Andrew Ohana

Description: modified (diff)

Not yet ready, the build scripts still need to be modified to set CC and CXX once this is installed.

comment:2 Changed 11 years ago by Keshav Kini

Cc: Keshav Kini added

comment:3 Changed 11 years ago by R. Andrew Ohana

Dependencies: #13040
Keywords: sd40.5 added

comment:4 Changed 11 years ago by R. Andrew Ohana

Description: modified (diff)

comment:5 Changed 11 years ago by R. Andrew Ohana

Description: modified (diff)

comment:6 Changed 11 years ago by R. Andrew Ohana

Description: modified (diff)
Summary: Add ccache as a standard spkgAdd ccache and f90cache as standard spkgs

comment:7 Changed 11 years ago by R. Andrew Ohana

Description: modified (diff)

comment:8 Changed 11 years ago by R. Andrew Ohana

Dependencies: #13040#13040 #13044
Description: modified (diff)

comment:9 Changed 11 years ago by R. Andrew Ohana

Status: newneeds_review

comment:10 Changed 11 years ago by R. Andrew Ohana

Description: modified (diff)

comment:11 Changed 11 years ago by R. Andrew Ohana

Cc: Robert Bradshaw added

comment:12 Changed 11 years ago by Punarbasu Purkayastha

Cc: Punarbasu Purkayastha added

comment:13 Changed 11 years ago by Punarbasu Purkayastha

Two general comments:

  1. We probably need to set the max cache size. On my system the default is 1G, which some people may dislike. It can be set using ccache -M <size>{G,M,K}, where the letters G, M, K can be used to specify the usual gigabytes, megabytes and kilobytes. This needs to be set only if CCACHE_DIR is empty, since the user may have his/her own ccache settings.
  2. This fact about the ccache size should be mentioned in the documentation, so that the user knows how much of disk space will be used.

comment:14 in reply to:  13 Changed 11 years ago by R. Andrew Ohana

Replying to ppurka:

Two general comments:

  1. We probably need to set the max cache size. On my system the default is 1G, which some people may dislike. It can be set using ccache -M <size>{G,M,K}, where the letters G, M, K can be used to specify the usual gigabytes, megabytes and kilobytes.

This is set in the spkg-install to 3G.

This needs to be set only if CCACHE_DIR is empty, since the user may have his/her own ccache settings.

  1. This fact about the ccache size should be mentioned in the documentation, so that the user knows how much of disk space will be used.

Both good points, I'll see about changing these.

comment:15 Changed 11 years ago by R. Andrew Ohana

Status: needs_reviewneeds_work

comment:16 Changed 11 years ago by R. Andrew Ohana

Status: needs_workneeds_review

comment:17 Changed 10 years ago by R. Andrew Ohana

Description: modified (diff)
Note: See TracTickets for help on using tickets.