Opened 10 years ago

Last modified 9 years ago

#13032 closed enhancement

Add ccache and f90cache as standard spkgs — at Version 19

Reported by: ohanar Owned by: GeorgSWeber
Priority: major Milestone: sage-5.6
Component: packages: optional Keywords: sd40.5
Cc: kini, robertwb, ppurka, jdemeyer 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 ohanar)

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

Installation:

Change History (19)

comment:1 Changed 10 years ago by ohanar

  • 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 10 years ago by kini

  • Cc kini added

comment:3 Changed 10 years ago by ohanar

  • Dependencies set to #13040
  • Keywords sd40.5 added

comment:4 Changed 10 years ago by ohanar

  • Description modified (diff)

comment:5 Changed 10 years ago by ohanar

  • Description modified (diff)

comment:6 Changed 10 years ago by ohanar

  • Description modified (diff)
  • Summary changed from Add ccache as a standard spkg to Add ccache and f90cache as standard spkgs

comment:7 Changed 10 years ago by ohanar

  • Description modified (diff)

comment:8 Changed 10 years ago by ohanar

  • Dependencies changed from #13040 to #13040 #13044
  • Description modified (diff)

comment:9 Changed 10 years ago by ohanar

  • Status changed from new to needs_review

comment:10 Changed 10 years ago by ohanar

  • Description modified (diff)

comment:11 Changed 10 years ago by ohanar

  • Cc robertwb added

comment:12 Changed 10 years ago by ppurka

  • Cc ppurka added

comment:13 follow-up: Changed 10 years ago by 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 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 10 years ago by ohanar

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 10 years ago by ohanar

  • Status changed from needs_review to needs_work

comment:16 Changed 10 years ago by ohanar

  • Status changed from needs_work to needs_review

comment:17 Changed 10 years ago by ohanar

  • Description modified (diff)

comment:18 Changed 10 years ago by ohanar

  • Description modified (diff)

comment:19 Changed 10 years ago by ohanar

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