diff options
| author | seth <[email protected]> | 2023-12-24 04:35:50 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-24 05:18:20 -0500 |
| commit | 0cd2567a1a19240b4338f081433900e9bc10fa32 (patch) | |
| tree | 48e28d7728b7d901c82a5c03d36382c32e1c84c3 /misc/tcmalloc-monster.nix | |
| parent | 0347706b58e8b2909769108528bc9ffeb9f07284 (diff) | |
tcmalloc-tf2: init
Diffstat (limited to 'misc/tcmalloc-monster.nix')
| -rw-r--r-- | misc/tcmalloc-monster.nix | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/misc/tcmalloc-monster.nix b/misc/tcmalloc-monster.nix deleted file mode 100644 index 52a03ef..0000000 --- a/misc/tcmalloc-monster.nix +++ /dev/null @@ -1,19 +0,0 @@ -# this uses llvm 16 to build a 32-bit version of tcmalloc, -# with a 64 and 32-bit version of mesa -# -# i'm using it to test ways to solve crashes in tf2 on -# systems with mesa also compiled against llvm 16 -let - nixpkgs = import (builtins.getFlake "github:nixos/nixpkgs") {system = "x86_64-linux";}; - - inherit (nixpkgs) llvmPackages_16 mesa pkgsi686Linux; - inherit (pkgsi686Linux) gperftools; - - x64Stdenv = llvmPackages_16.stdenv; - i686Stdenv = pkgsi686Linux.llvmPackages_16.stdenv; - mesa-i686 = pkgsi686Linux.mesa; -in { - mesa-llvm16 = mesa.override {stdenv = x64Stdenv;}; - mesa-llvm16-32bit = mesa-i686.override {stdenv = i686Stdenv;}; - gperftools-llvm16-32bit = gperftools.override {stdenv = i686Stdenv;}; -} |
