Requirements file¶
carbin will install all packages listed in the top-level carbin_deps.txt file in the package. Each requirement is listed on a new line.
- <package-source>¶
This specifies the package source (see Package source) that will be installed.
- -H, --hash¶
This specifies a hash checksum that should checked before installing the packaging. The type of hash needs to be specified with a colon first, and then the hash. So for md5, it would be something like
md5:6fc67d80e915e63aacb39bc7f7da0f6c.
- -b, --build¶
This is a dependency that is only needed for building the package. It is not installed as a dependent of the package, as such, it can be removed after the package has been installed.
- -t, --test¶
carbinwill only install the dependency if the tests are going to be run. This dependency is also treated as a build dependency so the it can be removed after the package has been installed.
- -D, --define VAR=VALUE¶
Extra configuration variables to pass to CMake.
- -X, --cmake¶
This specifies an alternative cmake file to be used to build the library. This is useful for packages that don’t have a cmake file.
- -f, --file¶
This will read the requirements from another requirements file.
- --ignore-requirements¶
This will ignore the requirement.txt file in the project. This is useful when a package has a carbin_deps.txt file that is actually for python packages, not carbin.