Skip to content

Commit

Permalink
Revert "Use remote part's implementation of ccache"
Browse files Browse the repository at this point in the history
This reverts commit 4383a92.

Reason for reversal:
brlin-tw/ccache-part#2
  • Loading branch information
vslavik committed Sep 12, 2019
1 parent c3e208d commit dd1c308
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,40 @@ parts:
ccache:
after:
- gcc-6
override-pull: 'true'
build-packages:
- ccache
plugin: nil
override-build: |
mkdir \
--parents \
"${SNAPCRAFT_PART_INSTALL}"/bin
ln \
--force \
--symbolic \
"$(which ccache)" \
"${SNAPCRAFT_PART_INSTALL}"/bin/gcc-6
ln \
--force \
--symbolic \
"$(which ccache)" \
"${SNAPCRAFT_PART_INSTALL}"/bin/g++-6
ln \
--force \
--symbolic \
./gcc-6 \
"${SNAPCRAFT_PART_INSTALL}"/bin/gcc
ln \
--force \
--symbolic \
./g++-6 \
"${SNAPCRAFT_PART_INSTALL}"/bin/g++
filesets:
executables:
- bin/*
stage:
- $executables
override-prime: 'true'

# This pseudo part setups version 6 of GCC, which is not available
# in Ubuntu 16.04 software source.
Expand Down

0 comments on commit dd1c308

Please sign in to comment.