-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dlrm-pcg' of https://github.com/easyeasydev/FlexFlow in…
…to dlrm-pcg
- Loading branch information
Showing
599 changed files
with
3,598 additions
and
44,162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,7 @@ indent_size = 4 | |
[*.toml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ lib | ||
, stdenv | ||
, makeWrapper | ||
, gdb | ||
, python3 | ||
, proj | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
pname = "ffdb"; | ||
version = "0.1"; | ||
|
||
pythonPath = with python3.pkgs; makePythonPath [ | ||
proj | ||
]; | ||
|
||
dontBuild = true; | ||
|
||
nativeBuildInputs = [ makeWrapper ]; | ||
|
||
src = ./.; | ||
|
||
installPhase = '' | ||
mkdir -p $out/share/ffdb | ||
cp ffdb.py $out/share/ffdb | ||
makeWrapper ${gdb}/bin/gdb $out/bin/gdb \ | ||
--add-flags "-q -x $out/share/ffdb/ffdb.py" \ | ||
--set NIX_PYTHONPATH ${pythonPath} \ | ||
--prefix PATH : ${lib.makeBinPath [ | ||
python3 | ||
]} | ||
cp $out/bin/gdb $out/bin/ffdb | ||
''; | ||
|
||
nativeCheckInputs = [ | ||
gdb | ||
python3 | ||
proj | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from proj.config_file import get_config_root | ||
from pathlib import Path | ||
import gdb | ||
|
||
gdb.execute(f'directory {get_config_root(Path.cwd())}') | ||
gdb.prompt_hook = lambda x: '(ffdb) ' | ||
gdb.execute('set history save on') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: clang-format | ||
on: [push, pull_request, workflow_dispatch] | ||
jobs: | ||
formatting-check: | ||
name: Formatting Check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Run clang-format style check for C/C++/Protobuf programs. | ||
uses: lockshaw/[email protected] | ||
with: | ||
clang-format-version: "16" | ||
exclude-regex: '\.proto$' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
set -x | ||
|
||
sudo rm -rf /usr/share/dotnet | ||
sudo rm -rf /usr/local/lib/android | ||
sudo rm -rf /opt/ghc | ||
sudo rm -rf "/usr/local/share/boost" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.