ccache VS linux-tkg

Compare ccache vs linux-tkg and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ccache linux-tkg
28 147
2,157 1,151
2.0% 3.9%
9.4 9.1
9 days ago 6 days ago
C++ Shell
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ccache

Posts with mentions or reviews of ccache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-10.
  • Deep Learning with “AWS Graviton2 + NVIDIA Tensor T4G” for as low as free* with CUDA 12.2
    2 projects | dev.to | 10 Sep 2023
    # Download and install ccache for faster compilation wget https://github.com/ccache/ccache/releases/download/v4.8.3/ccache-4.8.3.tar.xz tar -xf ccache-4.8.3.tar.xz pushd ccache-4.8.3 cmake . make -j $CPUS make install popd # Install NumPy, a dependency for PyTorch dnf install -y numpy # Install Python typing extensions for better type-checking sudo -u ec2-user pip3 install typing-extensions # Clone PyTorch repository and install from source git clone --recursive https://github.com/pytorch/pytorch.git pushd pytorch python3 setup.py install popd # Refresh the dynamic linker run-time bindings ldconfig # Install additional Python libraries for PyTorch sudo -u ec2-user pip3 install sympy filelock fsspec networkx
  • This isn’t the way to speed up Rust compile times
    7 projects | news.ycombinator.com | 26 Aug 2023
    > What can I use to cache with MSVC that isn't Incredibuild?

    Ccache works, but if you use the Visual Studio C++ compiler you need to configure your build to be cacheable.

    https://github.com/ccache/ccache/wiki/MS-Visual-Studio

  • Flutter or React Native
    1 project | /r/FlutterDev | 4 Jul 2023
    That ecosystem now is too young. All these things must be configured by an automatic installer. Packages and pods need to be tested before release, etc. Previous was 80 min compilation time of the Firestore package. Solved with https://ccache.dev/. But why Dart developers must know, how to install and configure object cache for C++ compilers?
  • Distcc: A fast, free distributed C/C++ compiler
    11 projects | news.ycombinator.com | 1 Jun 2023
    Related

    https://github.com/icecc/icecream - another option that does what distcc does, but aimed at a somewhat different use case.

    https://ccache.dev/ - a similar idea but provides caching of build outputs instead of distributing builds. You can use it together with distcc to achieve even better performance.

  • Debugging the QtCreator
    1 project | /r/QtFramework | 27 Apr 2023
  • How to avoid compiling whole C++ project every time using Github actions?
    1 project | /r/cpp_questions | 26 Feb 2023
  • Boring Python: Code Quality
    14 projects | news.ycombinator.com | 20 Dec 2022
    > All those big changes introduce commits that make git bisect generally slower.

    Bisection search is log2(n) so doubling the number of commits should only add one more bisection step, yes?

    > Which might be awful if you also have some C code to recompile at every step of bisecting.

    That reminds me, I've got to try out ccache (https://ccache.dev/ ) for my project. My full compile is one minute, but the three files that take longest to compiler rarely change.

  • Ccache – a fast C/C++ compiler cache
    1 project | /r/patient_hackernews | 24 Nov 2022
    1 project | /r/hackernews | 24 Nov 2022
    9 projects | news.ycombinator.com | 22 Nov 2022
    I worked with the internals of this some 16 years ago, maintaining a customized version at Zeugma Systems. Some change of mine was reworked by someone and upstreamed:

    https://github.com/ccache/ccache/commit/e8354384f67bc733bea5...

linux-tkg

Posts with mentions or reviews of linux-tkg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-06.
  • Been thinking of switching to linux but I am a noob
    8 projects | /r/linux_gaming | 6 Dec 2023
    Generally, Arch is the better platform for getting various kernel versions, but there's always stuff like Xanmod which is easy to do in any distro. Worst case, could always use linux-tkg script to build your own kernel - with that kind of hardware it shouldn't take long for the kernel to be built.
  • Until RedHat Stops Violating the GPL, Fedora Should Stop Being Recommended on Here
    7 projects | /r/linux_gaming | 6 Jul 2023
    kernel patched with cherry-picked zen patches (also used in TKG kernel on Arch https://github.com/Frogging-Family/linux-tkg/blob/master/linux-tkg-patches/6.1/0003-glitched-base.patch) kernel patched with OpenRGB (https://gitlab.com/CalcProgrammer1/OpenRGB/-/wikis/OpenRGB-Kernel-Patch) kernel patched to enable amdgpu for pre-polaris cards by default instead of radeon kernel patched with steam deck support kernel patched with microsoft surface support (https://github.com/linux-surface/linux-surface/tree/master/patches/6.1) kernel patched with asus-linux patches for better asus laptop compatibility. (https://gitlab.com/asus-linux) kernel patched with simpledrm fix/workaround for nvidia (see: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1788 ) kernel patched with ACS override IOMMU patch for better vfio iommu group control (https://aur.archlinux.org/cgit/aur.git/tree/add-acs-overrides.patch?h=linux-vfio) kernel patched with Lenovo Legion Linux support (https://github.com/johnfanv2/LenovoLegionLinux) kernel patched with customizable USB polling rate support (https://github.com/KarsMulder/Linux-Pollrate-Patch + https://github.com/GloriousEggroll/Linux-Pollrate-Patch) kernel configured with ashmem, binder, and android support for Waydroid QSG_RENDER_LOOP=”basic” set for nvidia cards — fixes nouveau Wayland freezes. The nvidia proprietary driver sets this anyway after installation. This fixes the issue of KDE Wayland often times freezing on first login before nvidia proprietary drivers are installed. latest mesa release version provided for AMD/Intel desktop/GL drivers, mesa-git vulkan drivers provided for latest vulkan fixes/updates, built and updated regularly (every few weeks to a month on average) glibc patched with clone3 disabled (fixes CEF compatibility in applications using outdated CEF such as Discord, Steam beta) glibc patched with broken commits reverted to allow EasyAntiCheat to work for Rogue Company dnf max parallel downloads increased to 6 gst-editing-services disabled — causes WINE to hang when creating new prefixes lspci symlink from /usr/sbin/lspci to /usr/bin/lspci for Dying Light: https://www.gamingonlinux.com/forum/topic/2766/post_id=17381 ‘nobara-controller-config’ package provided for easy installation of xone and xpadneo drivers and firmware. gnome variable refresh rate patches added for mutter: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1154 gnome mutter check-alive-timeout increased from 5 seconds to 30 seconds. This is the amount of time gnome waits before trying to determine if an application is not responding. At 5 seconds it almost immediately triggers for league of legends (and some other applications) if those applications are still in the loading phase. We feel 30 seconds is a much more reasonable wait time. gnome mutter patched with x11 fractional scaling: https://salsa.debian.org/gnome-team/mutter/-/raw/ubuntu/master/debian/patches/ubuntu/x11-Add-support-for-fractional-scaling-using-Randr.patch gnome mutter wayland and x11 fractional scaling enabled by default: https://wiki.archlinux.org/title/HiDPI#Fractional_scaling gnome shell patched with https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2358 to allow gnome-extension-manager to auto-update without needing gnome-extension-app installed. (They both function the same but gnome-extension-manager allows management of extensions without a browser). gamescope version regularly updated goverlay version regularly updated mangohud version regularly updated vkbasalt version regularly updated vm.max_map_count = 16777216 set by default for Star Citizen xwayland patched with fix for locked fps on some systems: https://build.opensuse.org/package/view_file/home:hwsnemo:xwayland/xwayland/xwayland-vsync.diff?expand=1 supergfxctl and gnome extension + kde plasmoid enabled for laptops. Vendor agnostic and works with any combination of intel/amd/nvidia gpus.
  • What is the best Linux Kernel for gaming?
    1 project | /r/linux_gaming | 23 Jun 2023
    Technically, it would be https://github.com/Frogging-Family/linux-tkg compiled specifically for you CPU and with tickless and a bunch of other patches, but the different isn't significant
  • Error 2124 when trying to interact with super-block (show-super, set-option)
    2 projects | /r/bcachefs | 31 May 2023
    Kernel: Gentoo-sources (6.1.28) with these patches for bcachefs (applied through Gentoo user patches, no other patches installed)
  • Distro Hop best way?
    1 project | /r/ManjaroLinux | 2 May 2023
    New kernel is available, just not straight from Manjaro. Plus lots of options and patches https://github.com/Frogging-Family/linux-tkg
  • Wine-tkg or Linux-tkg in Ubuntu Studio?
    2 projects | /r/linuxaudio | 16 Apr 2023
    Is it possible for Ubuntu Studio to have the kernel upgraded -it is at 5.15 atm? The kernel from the Frogging Family: https://github.com/Frogging-Family/linux-tkg And how do I install wine-tkg 😅 I cant seems to figure it out. https://github.com/Frogging-Family/wine-tkg-git
  • Current state of Tumbleweed with Nvidia graphic cards? (updates/bricked system)
    1 project | /r/openSUSE | 13 Apr 2023
    I use Nvidia (GTX 1080) and Tumbleweed just fine. No issues. But also I use a custom Kernel, based-on TKG currently and HEAVILY customized (https://github.com/Frogging-Family/linux-tkg). I also use SLRC (https://susepaste.org/89529032) SUSE Local Repository Creator, to download and keep all the repos I use for SUSE, including Tumbleweed.
  • TW good for gaming?
    1 project | /r/openSUSE | 10 Apr 2023
    Also, I use a custom Kernel (at the moment TKG - https://github.com/Frogging-Family/linux-tkg), supports SUSE. But there's also pre-built Liquorix Kernel for SUSE Tumbleweed in the OBS: https://build.opensuse.org/package/show/home:hwsnemo:kernels /kernel-liquorix
  • Can't run any games on GE Proton (Zorin OS Lite)
    2 projects | /r/linux_gaming | 7 Apr 2023
    You can compile by yourself, TKG is the easiest for me: https://github.com/Frogging-Family/linux-tkg
  • Would MicroOS be appropriate for me? Or better to go with tumbleweed
    2 projects | /r/openSUSE | 19 Mar 2023
    I have no issues with Nvidia drivers on Tumbleweed. But also you can use a custom Kernel (TKG -- https://github.com/Frogging-Family/linux-tkg -- for instance) and use offline repos (with this script: https://susepaste.org/89529032 -- not mine but clean) to download SUSE repos that you need. Re run the script to update. Quick, easy and you're not bombarded with updates; update when you want. Works beaut with Tumbleweed.

What are some alternatives?

When comparing ccache and linux-tkg you can also consider the following projects:

sccache - Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

zen-kernel - Zen Patched Kernel Sources

buildcache - A build cache

linux - XanMod: Linux kernel source code tree

Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

nvidia-all - Nvidia driver latest to 396 series AIO installer

icecream - Distributed compiler with a central scheduler to share build load

modprobed-db - Keeps track of EVERY kernel module that has ever been probed. Useful for those of us who make localmodconfig :)

setup-gcc - GitHub action to set up GCC

community-patches - A place to find patches that are maintained by the community before myself

gcovr - generate code coverage reports with gcc/gcov

anbox-modules - Anbox kernel modules