# Linux
sudo pacman -Syu qemu
sysctl -a | grep machdep.cpu.features # accelerators found
# Mac
brew install qemu| From e4db4f07e77feb1c126e7afbf441e9eae34b4e57 Mon Sep 17 00:00:00 2001 | |
| From: Kelvie Wong <kelvie@kelvie.ca> | |
| Date: Sun, 2 Oct 2022 13:23:25 -0700 | |
| Subject: [PATCH] Add a lockdown_hibernate parameter | |
| This allows the user to tell the kernel that they know better (namely, | |
| they secured their swap properly), and that it can enable hibernation. | |
| Signed-off-by: Kelvie Wong <kelvie@kelvie.ca> | |
| --- |
This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).
The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.
Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se
This script enables Ninja-powered builds in CLion IDE by wrapping around CMake, which it uses. See my blog post for details.
This script is provided AS IS with no guarantees given or responsibilities taken by the author. This script relies on undocumented features of CLion IDE and may lead to instability of build and/or IDE. Use it on your own risk under WTFPL terms.