tree: 432a00088d941251b1a69596afefbb13b00aa993 [search]
  1. build-and-test-all-configurations.sh
  2. check-options-occur.sh
  3. colors.sh
  4. extend-solution.sh
  5. generate-cubes.sh
  6. generate-embedded-options-default-list.sh
  7. generate-options-range-list.sh
  8. get-git-id.sh
  9. make-build-header.sh
  10. make-src-release.sh
  11. normalize-white-space.sh
  12. prepare-sc2021-submission.sh
  13. README.md
  14. run-cadical-and-check-proof.sh
  15. run-mobical-in-parallel.sh
  16. run-simplifier-and-extend-solution.sh
  17. update-example-in-cadical-header-file.sh
  18. update-version.sh
scripts/README.md

CaDiCaL Scripts

Scripts needed for the build process

./make-build-header.sh   # generates 'build.hpp'
./get-git-id.sh          # get GIT id (needed by 'make-build-header.sh')
./update-version.sh      # synchronizes VERSION in '../src/version.cpp'

and a script which builds and tests all configurations

./build-and-test-all-configurations.sh
CXX=clang++ ./build-and-test-all-configurations.sh
CXX=g++-4.8 ./build-and-test-all-configurations.sh

where as the code shows the compiler (default g++) is specified through the environment variable CXX (as for ../configure). Then there are scripts for producing a source release

./make-src-release.sh          # archive as 'cadical-VERSION-GITID.tar.xz'
./prepare-sc2021-submission.sh # star-exec format for SAT competition

and scripts for testing and debugging

./generate-embedded-options-default-list.sh # in 'c --opt=val' format
./generate-options-range-list.sh            # 'cnfuzz' option file format
./run-cadical-and-check-proof.sh            # wrapper to check proofs too
./run-simplifier-and-extend-solution.sh     # to check simplifier
./extend-solution.sh                        # called by previous script

a script to check whether all options are actually used

./check-options-occur.sh

a script to update the example in the ../src/cadical.hpp header

./update-example-in-cadical-header-file.sh

and finally a script to normalize white space of the source code

./normalize-white-space.sh

The color.sh script is used by the run.sh scripts in test.