Skip to content

Commit

Permalink
scripts: ccache: use cmake to configure build
Browse files Browse the repository at this point in the history
* follow the official working method

current script yields the following error:
ccache.sh: line 6: ./autogen.sh: No such file or directory
ccache.sh: line 7: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
[sudo] password for user: 
make: *** No rule to make target 'install'.  Stop.
/tmp

autogen.sh no longer exists in the upstream repo
  • Loading branch information
Meghthedev authored Sep 9, 2023
1 parent a10bf6f commit b8f2bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/ccache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
cd /tmp || exit 1
git clone https://github.com/ccache/ccache.git
cd ccache || exit 1
./autogen.sh
./configure --disable-man --with-libzstd-from-internet --with-libb2-from-internet
mkdir -p build && cd build || exit 1
cmake -DHIREDIS_FROM_INTERNET=ON -DZSTD_FROM_INTERNET=ON -DCMAKE_BUILD_TYPE=Release ..
make -j"$(nproc)"
sudo make install
rm -rf "${PWD}"
Expand Down

0 comments on commit b8f2bcb

Please sign in to comment.