| 12345678910111213141516171819 |
- #!/bin/bash
- set -e
- # With simpleBuildEnvironment flag, we're already in build directory
- # which is a copy of the source tree
- build_dir=$1
- # Change to the bzip2 source directory
- cd sources/bzip2-1.0.8
- # Build bzip2 using make
- echo "Building bzip2..."
- make -f Makefile -j$(nproc)
- # Run tests to ensure the build is working
- echo "Running tests..."
- make -f Makefile test
- echo "Build and tests complete."
|