-
Notifications
You must be signed in to change notification settings - Fork 390
Add minimal functionality for using GenMC mode #4506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 81 commits
3fc854d
7fcd173
af9d846
9d7e964
1631c9d
d9a6629
c968c94
24e42d0
50afd6f
e194cc8
c0f9987
cd5be0f
8d49e29
1dba4cd
69f7689
92978f0
a9dbdf8
78208d8
001d04d
5d4a027
5c486c4
1c3b639
5035978
17f2e83
bb3db74
f8cde2e
6925bb2
6336d30
4b2708e
6425cd9
29a24dd
4ccc075
df33e8e
8d20224
63754e4
c6a039c
645f7c9
fc7fd3a
19df2b3
fcd889d
4081133
d80db1c
9511e9b
91c804b
b9973b1
483544a
1c11a13
56a71b8
dae6996
52de0d8
0310f07
f0df253
e2ad56a
190f712
1b29fe4
9edc8f4
8f3479d
b1813c4
545566e
221f124
82d9a84
58f0757
81d61af
43f481b
a46f795
a6d9bd0
af6e8bd
6e1ce77
eb9c697
cff2beb
f232722
b788844
12a2d05
541762a
bb1008c
fb1c43f
2168a0d
7bc8044
23863bd
7ccf97f
9a12377
b92c917
0b891a2
3654409
a714643
e456286
01c05f2
04c4e38
6182abe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure if all of this is necessary, but it looks a lot like how rustfmt would format. I did not hook up anything automatic yet for formatting the C++ code (e.g., to |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# .clang-format | ||
|
||
BasedOnStyle: LLVM | ||
Standard: c++20 | ||
|
||
ColumnLimit: 100 | ||
AllowShortFunctionsOnASingleLine: Empty | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
AllowShortBlocksOnASingleLine: Empty | ||
BreakBeforeBraces: Attach | ||
|
||
BinPackArguments: false | ||
BinPackParameters: false | ||
AllowAllParametersOfDeclarationOnNextLine: false | ||
AlwaysBreakAfterReturnType: None | ||
|
||
# Force parameters to break and align | ||
AlignAfterOpenBracket: BlockIndent | ||
AllowAllArgumentsOnNextLine: false | ||
|
||
# Spacing around braces and parentheses | ||
SpaceBeforeCtorInitializerColon: true | ||
SpaceBeforeInheritanceColon: true | ||
SpaceInEmptyBlock: false | ||
SpacesInContainerLiterals: true | ||
SpacesInParensOptions: | ||
InCStyleCasts: false | ||
InConditionalStatements: false | ||
InEmptyParentheses: false | ||
Other: false | ||
SpacesInSquareBrackets: false | ||
|
||
# Brace spacing for initializers | ||
Cpp11BracedListStyle: false | ||
SpaceBeforeCpp11BracedList: true | ||
|
||
# Import grouping: group standard, external, and project includes. | ||
IncludeBlocks: Regroup | ||
SortIncludes: true | ||
|
||
# Granularity: sort includes per module/file. | ||
IncludeIsMainRegex: '([-_](test|unittest))?$' | ||
|
||
# Miscellaneous | ||
SpaceAfterCStyleCast: true | ||
SpaceBeforeParens: ControlStatements | ||
PointerAlignment: Left | ||
IndentCaseLabels: true | ||
IndentWidth: 4 | ||
TabWidth: 4 | ||
UseTab: Never |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
[package] | ||
authors = ["Miri Team"] | ||
# The parts in this repo are MIT OR Apache-2.0, but we are linking in | ||
# code from https://github.com/MPI-SWS/genmc which is GPL-3.0-or-later. | ||
license = "(MIT OR Apache-2.0) AND GPL-3.0-or-later" | ||
RalfJung marked this conversation as resolved.
Show resolved
Hide resolved
|
||
license = "MIT OR Apache-2.0" | ||
name = "genmc-sys" | ||
version = "0.1.0" | ||
edition = "2024" | ||
|
||
[dependencies] | ||
cxx = { version = "1.0.160", features = ["c++20"] } | ||
cxx = { version = "1.0.173", features = ["c++20"] } | ||
|
||
[build-dependencies] | ||
cc = "1.2.30" | ||
cmake = "0.1.54" | ||
git2 = { version = "0.20.2", default-features = false, features = ["https"] } | ||
cxx-build = { version = "1.0.160", features = ["parallel"] } | ||
cxx-build = { version = "1.0.173", features = ["parallel"] } |
Uh oh!
There was an error while loading. Please reload this page.