Opened 10 years ago
Last modified 9 years ago
#13032 closed enhancement
Add ccache and f90cache as standard spkgs — at Version 18
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: |
Description (last modified by )
This is needed to eliminate build time when switching between various branches in the git based workflow.
Installation:
- Install dependencies
- Add the spkg http://wstein.org/home/ohanar/spkgs/ccache-3.1.7.spkg to spkg/standard
- Add the spkg http://wstein.org/home/ohanar/spkgs/f90cache-0.93.7.spkg to spkg/standard
- Apply attachment:trac13032_root.patch to the root repository
- Apply attachment:trac13032_doc.patch to the sage library
Change History (18)
comment:1 Changed 10 years ago by
- Description modified (diff)
comment:2 Changed 10 years ago by
- Cc kini added
comment:3 Changed 10 years ago by
- Dependencies set to #13040
- Keywords sd40.5 added
comment:4 Changed 10 years ago by
- Description modified (diff)
comment:5 Changed 10 years ago by
- Description modified (diff)
comment:6 Changed 10 years ago by
- 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
- Description modified (diff)
comment:8 Changed 10 years ago by
- Dependencies changed from #13040 to #13040 #13044
- Description modified (diff)
comment:9 Changed 10 years ago by
- Status changed from new to needs_review
comment:10 Changed 10 years ago by
- Description modified (diff)
comment:11 Changed 10 years ago by
- Cc robertwb added
comment:12 Changed 10 years ago by
- Cc ppurka added
comment:13 follow-up: ↓ 14 Changed 10 years ago by
Two general comments:
- 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 lettersG, M, K
can be used to specify the usual gigabytes, megabytes and kilobytes. This needs to be set only ifCCACHE_DIR
is empty, since the user may have his/her own ccache settings. - 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
Replying to ppurka:
Two general comments:
- 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 lettersG, 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.
- 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
- Status changed from needs_review to needs_work
comment:16 Changed 10 years ago by
- Status changed from needs_work to needs_review
comment:17 Changed 10 years ago by
- Description modified (diff)
comment:18 Changed 10 years ago by
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
Not yet ready, the build scripts still need to be modified to set
CC
andCXX
once this is installed.