Skip to content

Instantly share code, notes, and snippets.

@mpenet
Created January 26, 2022 17:18
Show Gist options
  • Save mpenet/d00cd7ffb25992dc0384881b1250f790 to your computer and use it in GitHub Desktop.
Save mpenet/d00cd7ffb25992dc0384881b1250f790 to your computer and use it in GitHub Desktop.
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt install build-essential libgtk-3-dev libgnutls28-dev libtiff5-dev libgif-dev libjpeg-dev libpng-dev libxpm-dev libncurses-dev texinfo \
libjansson4 libjansson-dev \
libgccjit0 libgccjit-11-dev gcc-11 g++-11
./autogen.sh
export CC=/usr/bin/gcc-11 CXX=/usr/bin/gcc-11
./configure --with-native-compilation --with-json --with-pgtk
make -j8
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment