This repository shows my heap memory manager in a bitbake project. Bitbake meta layers and recipes for creating the manager as static library, dynamic library and testing it in both situations.
build/: Shows the working directory, you can see the log files of every recipe in it.meta-dynamic/: Contains dynamic library building configurations and recipe.meta-static/: Contains static library building configurations and recipe.meta-test/: Contains testing configurations for both builds and their recipes.project-files/: Contains the library C code and testing scripts.
To get started with this project, follow the steps below:
- Bitbake installation: use this guide: https://a4z.gitlab.io/docs/BitBake/guide.html
- Set necessary env and remain in the same terminal for project usage:
export PATH=/path/to/bbtutor/bitbake/bin:$PATH export PYTHONPATH=/path/to/bbtutor/bitbake/lib:$PYTHONPATH
-
Clone the Repository
git clone https://github.com/ShadiBahaa/HMM-with-bitbake.git cd HMM-with-bitbake -
Building static library
cd build bitbake build-static -
Testing static library (should build the static library first)
cd build bitbake test-static -
Building dynamic library
cd build bitbake build-dynamic -
Testing dynamic library (should build the dynamic library first)
cd build bitbake test-dynamic -
If you want to check the logs of recipes and the execution results of them
cd build/tmp/work choose the folder of the recipe you are interested in go to log.do_build files