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:
parent
66e81f59cd
commit
f82827e79e
3 changed files with 8 additions and 2 deletions
|
@ -24,7 +24,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export NONINTERACTIVE=1
|
export NONINTERACTIVE=1
|
||||||
brew install ninja pkg-config automake libtool autoconf
|
brew install ninja pkg-config automake libtool autoconf texinfo
|
||||||
brew install llvm@16
|
brew install llvm@16
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,10 +42,13 @@ pkgs.llvmPackages_16.stdenv.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
dontAddStaticConfigureFlags = false;
|
dontAddStaticConfigureFlags = false;
|
||||||
|
doCheck = false;
|
||||||
|
doInstallCheck = false;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DTON_USE_ABSEIL=OFF"
|
"-DTON_USE_ABSEIL=ON"
|
||||||
"-DNIX=ON"
|
"-DNIX=ON"
|
||||||
|
"-DTON_ONLY_TONLIB=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
LDFLAGS = [
|
LDFLAGS = [
|
||||||
|
|
|
@ -58,10 +58,13 @@ stdenv227.mkDerivation {
|
||||||
];
|
];
|
||||||
|
|
||||||
dontAddStaticConfigureFlags = false;
|
dontAddStaticConfigureFlags = false;
|
||||||
|
doCheck = false;
|
||||||
|
doInstallCheck = false;
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DTON_USE_ABSEIL=ON"
|
"-DTON_USE_ABSEIL=ON"
|
||||||
"-DNIX=ON"
|
"-DNIX=ON"
|
||||||
|
"-DTON_ONLY_TONLIB=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
LDFLAGS = [
|
LDFLAGS = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue