aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-12-05 16:30:28 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-12-05 16:45:23 +0300
commit8aee4675a8b41c39f833026f579f9828deee361a (patch)
treecea525baed95fe3a0da4f28521a442e407cebf88
parent2db801e7c463a1ca6fae17839701429f395fccc5 (diff)
downloadydb-8aee4675a8b41c39f833026f579f9828deee361a.tar.gz
Intermediate changes
commit_hash:4a25aa0094413a1753c503eaedce8275ae143107
-rw-r--r--contrib/libs/clang18-rt/.yandex_meta/override.nix26
1 files changed, 7 insertions, 19 deletions
diff --git a/contrib/libs/clang18-rt/.yandex_meta/override.nix b/contrib/libs/clang18-rt/.yandex_meta/override.nix
index fcb7b5b366..0415ebf206 100644
--- a/contrib/libs/clang18-rt/.yandex_meta/override.nix
+++ b/contrib/libs/clang18-rt/.yandex_meta/override.nix
@@ -1,26 +1,14 @@
pkgs: attrs: with pkgs; with attrs; rec {
version = "18.1.8";
- src = let
- pname = "compiler-rt";
- source = fetchFromGitHub {
- owner = "llvm";
- repo = "llvm-project";
- rev = "llvmorg-${version}";
- hash = "sha256-iiZKMRo/WxJaBXct9GdAcAT3cz9d9pnAcO1mmR6oPNE=";
- };
- in (runCommand "${pname}-src-${version}" {} (''
- mkdir -p "$out"
- cp -r ${source}/cmake "$out"
- cp -r ${source}/${pname} "$out"
- '')).overrideAttrs(attrs: rec {
- urls = source.urls;
- });
- sourceRoot = "compiler-rt-src-${version}/compiler-rt";
+ src = fetchFromGitHub {
+ owner = "llvm";
+ repo = "llvm-project";
+ rev = "llvmorg-${version}";
+ hash = "sha256-iiZKMRo/WxJaBXct9GdAcAT3cz9d9pnAcO1mmR6oPNE=";
+ };
- postConfigure = ''
- substituteInPlace "$PWD/build.ninja" --replace "/${yamaker-llvm.dev}/lib/cmake/llvm/LLVM-Config.cmake" ""
- '';
+ sourceRoot = "source/compiler-rt";
patches = [];
}