-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'bioconda:master' into zamp
- Loading branch information
Showing
5 changed files
with
50 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
mkdir -p ${PREFIX}/bin | ||
#!/bin/bash | ||
|
||
mv vcf_validator* ${PREFIX}/bin/vcf_validator | ||
mv vcf_assembly_checker* ${PREFIX}/bin/vcf_assembly_checker | ||
# Set c++ to version 11 | ||
export CXXFLAGS="-std=c++11 ${CXXFLAGS}" | ||
|
||
chmod 755 ${PREFIX}/bin/vcf_assembly_checker ${PREFIX}/bin/vcf_validator | ||
mkdir build || { echo "Failed to create build directory" >&2; exit 1; } | ||
cd build || { echo "Failed to go into build directory" >&2; exit 1; } | ||
cmake -G "Unix Makefiles" .. | ||
make -j2 || { echo "Build failed" >&2; exit 1; } | ||
cd .. || { echo "Failed to return to parent directory" >&2; exit 1; } | ||
if ! ./build/bin/test_validation_suite; then | ||
echo "Validation suite failed" >&2 | ||
exit 1 | ||
fi | ||
cp build/bin/vcf_validator ${PREFIX}/bin | ||
cp build/bin/vcf_assembly_checker ${PREFIX}/bin | ||
echo "Done with vcf-validator" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters