Skip to content

Implement building GenMC C++ code #4453

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

Open
wants to merge 64 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
7892fb8
WIP: Start working on Miri-GenMC interop.
Patrick-6 Mar 14, 2025
f5082fa
Miri-GenMC build PR: Clear out tests directory
Patrick-6 Jul 7, 2025
325a5f4
Miri-GenMC build PR: Reduce code changes to minimum needed to test bu…
Patrick-6 Jul 7, 2025
4117ec9
Small cleanup, disable genmc feature by default
Patrick-6 Jul 7, 2025
c1f2157
Update linked GenMC git commit
Patrick-6 Jul 7, 2025
ac4ab72
Update linked GenMC git commit again
Patrick-6 Jul 7, 2025
718500d
Update linked GenMC git commit again 2
Patrick-6 Jul 7, 2025
95e1f4c
Switch terms: 'vendoring' --> 'downloading'
Patrick-6 Jul 7, 2025
ac42ae4
Disable unsupported platforms.
Patrick-6 Jul 8, 2025
6138dd7
Throw an error when the downloaded GenMC repo is modified.
Patrick-6 Jul 9, 2025
a9e8743
Update rebuild-if-changed paths
Patrick-6 Jul 9, 2025
f2497d3
Disable unused crate feature
Patrick-6 Jul 9, 2025
7a45675
Remove comment, run formatter
Patrick-6 Jul 9, 2025
27f0d7f
Disable MacOS support.
Patrick-6 Jul 9, 2025
2608e29
Run fmt
Patrick-6 Jul 9, 2025
dea4763
Disable cross-platform testing with GenMC.
Patrick-6 Jul 12, 2025
efdd05b
Clean up GenMC config handling.
Patrick-6 Jul 12, 2025
01a1b8d
Set genmc-sys version to 0.1.0
Patrick-6 Jul 12, 2025
1456a3b
Improve build script output
Patrick-6 Jul 12, 2025
c248528
Remove '_STR' from string constants.
Patrick-6 Jul 12, 2025
f4ed42b
Rework GenMC git repo handling
Patrick-6 Jul 13, 2025
dcac07b
Switch to using configuration file for GenMC instead of compile defin…
Patrick-6 Jul 13, 2025
2d065b3
Apply suggestions from code review
Patrick-6 Jul 13, 2025
ba6bbca
Improve include directory handling with cmake
Patrick-6 Jul 14, 2025
c2eafc2
Remove 'doc/' from .gitignore
Patrick-6 Jul 14, 2025
173c8b4
Add little endian to supported platform conditions, add extra FIXME f…
Patrick-6 Jul 14, 2025
2851d22
Switch to using panic! for error handling in build script
Patrick-6 Jul 14, 2025
57250af
Only check local GenMC repo path for changes if it exists
Patrick-6 Jul 14, 2025
b276067
Remove extra string in print.
Patrick-6 Jul 14, 2025
4eaec53
Add warning for enabled borrow tracking in GenMC mode
Patrick-6 Jul 14, 2025
73e01d4
WIP: Add documentation for GenMC mode usage and development.
Patrick-6 Jul 14, 2025
7d6e79e
Run fmt.
Patrick-6 Jul 14, 2025
0362d47
Make file name lowercase
Patrick-6 Jul 19, 2025
cd0bb79
Switch to minimally changed GenMC repo (with LLVM dependency not yet …
Patrick-6 Jul 19, 2025
d3eee66
Remove hack for building on older version of Ubuntu.
Patrick-6 Jul 19, 2025
6c06651
Enable GenMC debugging based on Rust compilation profile.
Patrick-6 Jul 19, 2025
0397680
Improve doc comments.
Patrick-6 Jul 19, 2025
90d9b76
Add GENMC_SRC_PATH env var for overriding which GenMC repo is used by…
Patrick-6 Jul 19, 2025
da80f0f
Improve documentation for building GenMC.
Patrick-6 Jul 19, 2025
e18a864
Run fmt
Patrick-6 Jul 19, 2025
1e25112
Add llvm compiler definitions to cxx_build step
Patrick-6 Jul 20, 2025
b45676d
Split up c++ flags
Patrick-6 Jul 20, 2025
e119755
Improve building/linking with LLVM by passing required info in config…
Patrick-6 Jul 21, 2025
9908f07
Run fmt
Patrick-6 Jul 21, 2025
fd8d973
Clean up LLVM linking by using llvm-config
Patrick-6 Jul 22, 2025
7d3d3a2
Remove debug prints, minor cleanup.
Patrick-6 Jul 22, 2025
da61f52
Switch cxx build step to C++23.
Patrick-6 Jul 22, 2025
245b31c
Permanently enable downloading of GenMC (i.e, remove downloading feat…
Patrick-6 Jul 23, 2025
3e5d3ab
Remove local GenMC path for development, only support local path thro…
Patrick-6 Jul 24, 2025
2ee2e37
Switch to passing cxx_build compiler parameters as struct.
Patrick-6 Jul 24, 2025
a86b775
[temporary] Pass GenMC debug setting manually until GenMC makes it av…
Patrick-6 Jul 24, 2025
012781c
Clean up C++ compilation steps and combine them into 1 function.
Patrick-6 Jul 24, 2025
c16d420
Add genmc-sys to rust-analyzer linkedProjects paths.
Patrick-6 Jul 24, 2025
0977206
Prevent Miri fmt from formatting downloaded GenMC Rust files.
Patrick-6 Jul 24, 2025
e6a0ff3
Add handling for changing remote URL for downloaded GenMC repo.
Patrick-6 Jul 24, 2025
41d796e
Update GenMC repo to officially released version.
Patrick-6 Jul 24, 2025
9f14cd3
Give downloaded GenMC directory a better name. Improve docs about for…
Patrick-6 Jul 24, 2025
a1239bd
Pin cc crate version to higher than what cxx_build requires.
Patrick-6 Jul 25, 2025
5177946
Set genmc-sys license and update docs about licensing issues.
Patrick-6 Jul 25, 2025
2f401ba
Add warning about genmc-sys license
Patrick-6 Jul 25, 2025
c3ca2f2
Add error when compiling genmc-sys in rustc workspace (due to licensi…
Patrick-6 Jul 25, 2025
5cc2046
run fmt
Patrick-6 Jul 25, 2025
b9d9586
Change genmc-sys license to MIT/Apache, with note about GenMC license.
Patrick-6 Jul 26, 2025
df4dbe2
Add comment about setting GENMC_SRC_PATH env var also for Rust Analyzer
Patrick-6 Jul 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
target
/doc
tex/*/out
*.dot
*.out
Expand Down
Loading
Loading