-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
3,166 additions
and
738 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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
workflow: | ||
rules: | ||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"' | ||
|
||
anod_build: | ||
services: | ||
- image:sandbox | ||
- cpu:8 | ||
- mem:16 | ||
stage: build | ||
script: | ||
- export ANOD_DEFAULT_SANDBOX_DIR=/it/wave | ||
|
||
# Check out QSYM | ||
- cd runtime/qsym_backend | ||
- git clone -b symcc https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/eng/fuzz/qsym | ||
|
||
# Use our repositories | ||
- anod vcs --add-repo symcc $CI_PROJECT_DIR | ||
- anod vcs --add-repo qsym $CI_PROJECT_DIR/runtime/qsym_backend/qsym | ||
|
||
# Build SymCC | ||
- anod source symcc | ||
- anod build symcc |
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,3 @@ | ||
--- | ||
BasedOnStyle: LLVM | ||
... |
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,19 @@ | ||
name: Check coding style | ||
on: [pull_request] | ||
jobs: | ||
coding_style: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Run clang-format | ||
shell: bash | ||
run: | | ||
format_changes=$(git clang-format-14 --quiet --diff \ | ||
${{ github.event.pull_request.base.sha }} \ | ||
${{ github.event.pull_request.head.sha }} | wc -c) | ||
if [[ $format_changes -ne 0 ]]; then | ||
echo "Please format your changes with clang-format using the LLVM style, e.g., git clang-format --style LLVM before committing" | ||
exit 1 | ||
fi |
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 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 |
---|---|---|
|
@@ -40,3 +40,7 @@ TAGS | |
# Clang tooling | ||
compile_commands.json | ||
.clangd | ||
.cache | ||
|
||
# Build directories | ||
build* |
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 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,17 @@ | ||
# Contributing to SymCC | ||
|
||
We encourage everyone to contribute improvements and bug fixes to SymCC. Our | ||
preferred way of accepting contributions is via GitHub pull requests. Please be | ||
sure to run clang-format on any C/C++ code you change; an easy way to do so is | ||
with `git clang-format --style LLVM` just before committing. (On Ubuntu, you can | ||
get `git-clang-format` via `apt install clang-format`.) Ideally, also add a test | ||
to your patch (see the | ||
[docs](https://github.com/eurecom-s3/symcc/blob/master/docs/Testing.txt) for | ||
details). Unfortunately, since the project is a bit short on developers at the | ||
moment, we have to ask for your patience while we review your PR. | ||
|
||
Please note that any contributions you make are licensed under the same terms as | ||
the code you're contributing to, as per the GitHub Terms of Service, [section | ||
D.6](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service#6-contributions-under-repository-license). | ||
At the time of writing, this means LGPL (version 3 or later) for the SymCC | ||
runtime, and GPL (version 3 or later) for the rest of SymCC. |
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
Oops, something went wrong.