1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Fix failing tonlib compilation on ubuntu with nixpkgs (#1309)

* force gcc-11+

* install gcc-11+

* fix missing gcc-11 in nix build on ubuntu

* cleanup
This commit is contained in:
neodix42 2024-10-22 12:55:05 +04:00 committed by GitHub
parent 66e81f59cd
commit f82827e79e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View file

@ -24,7 +24,7 @@ else
fi
export NONINTERACTIVE=1
brew install ninja pkg-config automake libtool autoconf
brew install ninja pkg-config automake libtool autoconf texinfo
brew install llvm@16

View file

@ -42,10 +42,13 @@ pkgs.llvmPackages_16.stdenv.mkDerivation {
];
dontAddStaticConfigureFlags = false;
doCheck = false;
doInstallCheck = false;
cmakeFlags = [
"-DTON_USE_ABSEIL=OFF"
"-DTON_USE_ABSEIL=ON"
"-DNIX=ON"
"-DTON_ONLY_TONLIB=ON"
];
LDFLAGS = [

View file

@ -58,10 +58,13 @@ stdenv227.mkDerivation {
];
dontAddStaticConfigureFlags = false;
doCheck = false;
doInstallCheck = false;
cmakeFlags = [
"-DTON_USE_ABSEIL=ON"
"-DNIX=ON"
"-DTON_ONLY_TONLIB=ON"
];
LDFLAGS = [