Skip to content

Commit d306e52

Browse files
authored
Merge branch 'master' into graph-library-testing
2 parents a56201c + d4a92da commit d306e52

File tree

148 files changed

+3291
-961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+3291
-961
lines changed

.flake/pkgs/ffdb/default.nix

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{ lib
2+
, stdenv
3+
, makeWrapper
4+
, gdb
5+
, python3
6+
, proj
7+
}:
8+
9+
stdenv.mkDerivation rec {
10+
pname = "ffdb";
11+
version = "0.1";
12+
13+
pythonPath = with python3.pkgs; makePythonPath [
14+
proj
15+
];
16+
17+
dontBuild = true;
18+
19+
nativeBuildInputs = [ makeWrapper ];
20+
21+
src = ./.;
22+
23+
installPhase = ''
24+
mkdir -p $out/share/ffdb
25+
cp ffdb.py $out/share/ffdb
26+
makeWrapper ${gdb}/bin/gdb $out/bin/gdb \
27+
--add-flags "-q -x $out/share/ffdb/ffdb.py" \
28+
--set NIX_PYTHONPATH ${pythonPath} \
29+
--prefix PATH : ${lib.makeBinPath [
30+
python3
31+
]}
32+
cp $out/bin/gdb $out/bin/ffdb
33+
'';
34+
35+
nativeCheckInputs = [
36+
gdb
37+
python3
38+
proj
39+
];
40+
}

.flake/pkgs/ffdb/ffdb.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from proj.config_file import get_config_root
2+
from pathlib import Path
3+
import gdb
4+
5+
gdb.execute(f'directory {get_config_root(Path.cwd())}')
6+
gdb.prompt_hook = lambda x: '(ffdb) '
7+
gdb.execute('set history save on')

.github/workflows/helpers/build_target.sh

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/workflows/helpers/cmake_cuda.sh

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
set -x
4+
5+
sudo rm -rf /usr/share/dotnet
6+
sudo rm -rf /usr/local/lib/android
7+
sudo rm -rf /opt/ghc
8+
sudo rm -rf "/usr/local/share/boost"

.github/workflows/helpers/gpu_ci_helper.py

Lines changed: 0 additions & 85 deletions
This file was deleted.

.github/workflows/helpers/install_cudnn.sh

Lines changed: 0 additions & 56 deletions
This file was deleted.

.github/workflows/helpers/install_dependencies.sh

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/helpers/test_target.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)