Skip to content
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

Cmake #151

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Cmake #151

wants to merge 16 commits into from

Conversation

butjar
Copy link

@butjar butjar commented Oct 2, 2020

Refactors the project structure and adds CMake build pipeline for Komondor.

Komondors source code has not been touched. If you walk through the commits you can see that the source files have only been moved (and permissions have been fixed).

WARNING: The scripts won't work since they have been moved. Maybe you could give a hand in fixing them if you consider to accept this PR.

Move all Komondor source code from `Code` to `src`. Additionally, fix
file permissions since `build_local` was making source code
unintentionally executable.
Move source code from Code/COST to COST. Fix file permissions.
Add the source code for Comp++ to CompCpp. Comp++ is the code for
building the `cxx` executable that translates `komondor_main.cc` to
`komondor_main.cxx`.
Extract the csv file in Code/input and move them to the input directory.
The CSV files should not live next to the source code. Fix file
permissions.
Move all scripts to a separate folder. The should also not live with
the Komondor source code.
Move config_models to a separate folder.
Fix files that have been marked unintentionally executable.
Remove unitentionally checked-in lock files.
Remove artifacts from the CompC++ and Komondor build processes.
Some headers from COST/SENSE are not used by Komondor and can be
removed.
Remove the old build script.
Create a Cmake build pipeline for CompC++ and Komondor. The pipeline is
a bit unconventional since the CompC++ translation procedure is a bit
quirky. The translation requires all included headers to build
`komondor_main.cxx` and does not use linking.
Add build instructions to the README.
@butjar
Copy link
Author

butjar commented Oct 2, 2020

closes #150

@butjar butjar mentioned this pull request Oct 2, 2020
The CompC++ build requires flex, add a notice to the build instructions.
- Remove references to `Code`
- Exclude the build directory
Add the licensing disclaimer from COST and CompCpp to LICENSE files in
the appropriate directories.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant