Skip to content

Commit

Permalink
Add support for arm64 on OS-X
Browse files Browse the repository at this point in the history
Add additional comment as per review
  • Loading branch information
tcezard committed Oct 16, 2024
1 parent f1a7c84 commit fc9abc1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions recipes/vcf-validator/build.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
#!/bin/bash

# Install additional dependencies
if [ -z ${OSX_ARCH+x} ]; then
./install_dependencies.sh linux
mkdir build
cd build
cmake -G "Unix Makefiles" ..
else
./install_dependencies.sh osx
mkdir build
cd build
cmake -G "Unix Makefiles" ..
fi
make -j2
cd ..
./build/bin/test_validation_suite
echo "Done with 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
echo "Done with vcf-validator"
2 changes: 1 addition & 1 deletion recipes/vcf-validator/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ test:

about:
home: https://github.com/EBIVariation/vcf-validator
summary: EBI EVA -
summary: EBI EVA - Validation tool for VCF file format compliance
license: Apache-2.0
license_file: LICENSE

Expand Down

0 comments on commit fc9abc1

Please sign in to comment.