Collection of test suites for superopt.
# first time configuration
./configure
# for building all test suites
make
# Or, for a particular test suite
make <dirname>
# For example, for building bzip2 the following command would be used
make bzip2# for all
make gentest
# Or, for a particular test suite
make -C build/<dirname> gentest
# For example, for generating bzip2 test files
make -C build/bzip2 gentest# for all
make runtest
# Or, for a particular test suite
make -C build/<dirname> runtest
# For example, for running bzip2 test
make -C build/bzip2 runtestFor restoring the pristine state use:
make distcleanFor deleting only the compiled files, use:
make cleanAll paths are set in Make.conf.
In addition, some environment variables are used for some paths. The exhaustive list of environment variables used are:
-
SUPEROPT_PROJECT_DIR: Directory wheresuperopt-projectis cloned. -
ICC_INSTALL_DIR: Directory where ICC is installed.iccis then located to${ICC_INSTALL_DIR}/bin/icc. -
COMPCERT_INSTALL_BIN: Directory where CompCert is installed.ccompis then located to${COMPCERT_INSTALL_BIN}/ccomp -
COMPCERT_INSTALL_LIB: Search path for CompCert libs.