bioconda-recipes icon indicating copy to clipboard operation
bioconda-recipes copied to clipboard

gsalign: add linux-aarch64 build

Open martin-g opened this issue 2 months ago • 5 comments

Describe your pull request here


Please read the guidelines for Bioconda recipes before opening a pull request (PR).

General instructions

  • If this PR adds or updates a recipe, use "Add" or "Update" appropriately as the first word in its title.
  • New recipes not directly relevant to the biological sciences need to be submitted to the conda-forge channel instead of Bioconda.
  • PRs require reviews prior to being merged. Once your PR is passing tests and ready to be merged, please issue the @BiocondaBot please add label command.
  • Please post questions on Gitter or ping @bioconda/core in a comment.

Instructions for avoiding API, ABI, and CLI breakage issues

Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes. This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe. If not already present in the meta.yaml, make sure to specify run_exports (see here for the rationale and comprehensive explanation). Add a run_exports section like this:

build:
  run_exports:
    - ...

with ... being one of:

Case run_exports statement
semantic versioning {{ pin_subpackage("myrecipe", max_pin="x") }}
semantic versioning (0.x.x) {{ pin_subpackage("myrecipe", max_pin="x.x") }}
known breakage in minor versions {{ pin_subpackage("myrecipe", max_pin="x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
known breakage in patch versions {{ pin_subpackage("myrecipe", max_pin="x.x.x") }} (in such a case, please add a note that shortly mentions your evidence for that)
calendar versioning {{ pin_subpackage("myrecipe", max_pin=None) }}

while replacing "myrecipe" with either name if a name|lower variable is defined in your recipe or with the lowercase name of the package in quotes.

Bot commands for PR management

Please use the following BiocondaBot commands:

Everyone has access to the following BiocondaBot commands, which can be given in a comment:

@BiocondaBot please update Merge the master branch into a PR.
@BiocondaBot please add label Add the please review & merge label.
@BiocondaBot please fetch artifacts Post links to CI-built packages/containers.
You can use this to test packages locally.

Note that the @BiocondaBot please merge command is now depreciated. Please just squash and merge instead.

Also, the bot watches for comments from non-members that include @bioconda/<team> and will automatically re-post them to notify the addressed <team>.

martin-g avatar Apr 24 '24 12:04 martin-g

Depends on:

  • https://github.com/hsinnan75/GSAlign/pull/24

martin-g avatar Apr 24 '24 13:04 martin-g

The Mac OSX build fails due to:

 (ERR) dyld[17579]: Library not loaded: '@rpath/libclang-cpp.15.dylib'[0m
2024-04-24T14:37:25.4894410Z 14:37:19 [32mBIOCONDA INFO[0m (ERR)   Referenced from: '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/clang-15'[0m
2024-04-24T14:37:25.4896810Z 14:37:19 [32mBIOCONDA INFO[0m (ERR)   Reason: tried: '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/usr/local/lib/libclang-cpp.15.dylib' (no such file), '/usr/lib/libclang-cpp.15.dylib' (no such file)[0m
2024-04-24T14:37:25.4898590Z 14:37:19 [32mBIOCONDA INFO[0m (ERR) dyld[17580]: Library not loaded: '@rpath/libclang-cpp.15.dylib'[0m
2024-04-24T14:37:25.4899160Z 14:37:19 [32mBIOCONDA INFO[0m (ERR)   Referenced from: '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/clang-15'[0m
2024-04-24T14:37:33.1340360Z 14:37:19 [32mBIOCONDA INFO[0m (ERR)   Reason: tried: '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/opt/mambaforge/envs/bioconda/pkgs/clang-15-15.0.7-default_h7151d67_5/bin/../lib/libclang-cpp.15.dylib' (no such file), '/usr/local/lib/libclang-cpp.15.dylib' (no such file), '/usr/lib/libclang-cpp.15.dylib' (no such file)[0m
2024-04-24T14:37:33.1343110Z 14:37:19 [32mBIOCONDA INFO[0m (ERR) make: *** [makefile:9: bwt.o] Abort trap: 6[0m
2024-04-24T14:37:33.1343540Z 14:37:19 [32mBIOCONDA INFO[0m (ERR) make: *** Waiting for unfinished jobs....[0m
2024-04-24T14:37:33.1344110Z 14:37:19 [32mBIOCONDA INFO[0m (ERR) make: *** [makefile:9: utils.o] Abort trap: 6[0m

Any ideas ?

martin-g avatar Apr 24 '24 18:04 martin-g

@BiocondaBot please fetch artifacts

martin-g avatar Apr 24 '24 18:04 martin-g

Package(s) built are ready for inspection:

Arch Package Zip File / Repodata CI Instructions
linux-64 gsalign-1.0.22-h8b853e6_5.tar.bz2 LinuxArtifacts.zip Azure
showYou may also use conda to install after downloading and extracting the zip file. From the LinuxArtifacts directory: conda install -c ./packages <package name>
linux-aarch64 gsalign-1.0.22-h7f8aa1e_5.tar.bz2 repodata.json CircleCI
showYou may also use conda to install:conda install -c https://output.circle-artifacts.com/output/job/a015c32b-9760-4e6d-bd83-54616d9383f6/artifacts/0/tmp/artifacts/packages <package name>

Docker image(s) built:

Package Tag CI Install with docker
gsalign 1.0.22--h8b853e6_5 Azure
showImages for Azure are in the LinuxArtifacts zip file above.gzip -dc LinuxArtifacts/images/gsalign:1.0.22--h8b853e6_5.tar.gz | docker load

BiocondaBot avatar Apr 24 '24 18:04 BiocondaBot

The Linux ARM64 artifacts look good:

mgrigorov in 🌐 euler-arm-22 in /tmp/gsalign via 🅒 test123 took 4s 
❯ tar jxvf gsalign-1.0.22-h7f8aa1e_5.tar.bz2                                                                                                                                                               (test123) 
info/files
info/run_exports.json
info/test/run_test.sh
info/hash_input.json
info/index.json
info/paths.json
info/recipe/build.sh
info/recipe/meta.yaml.template
info/licenses/LICENSE
info/recipe/meta.yaml
info/recipe/conda_build_config.yaml
info/about.json
info/git
info/recipe/support-linux-aarch64.patch
bin/bwt_index
bin/GSAlign

mgrigorov in 🌐 euler-arm-22 in /tmp/gsalign via 🅒 test123 
❯ file ./bin/*                                                                                                                                                                                             (test123) 
./bin/bwt_index: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped
./bin/GSAlign:   ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, not stripped

mgrigorov in 🌐 euler-arm-22 in /tmp/gsalign via 🅒 test123 
❯ ./bin/GSAlign                                                                                                                                                                                            (test123) 

GenAlign v1.0.22
Usage: ./bin/GSAlign [-i IndexFile Prefix / -r Reference file] -q QueryFile[Fasta]

Options: -t     INT     number of threads [8]
         -o     STR     Set the prefix of the output files [output]
         -fmt   INT     Set the output format 1:maf, 2:aln [1]
         -idy   INT     Set the minimal sequence identity (0-100) of a local alignment [70]
         -slen  INT     Set the minimal seed length [15]
         -alen  INT     Set the minimal alignment length [200]
         -ind   INT     Set the maximal indel size [25]
         -clr   INT     Set the minimal cluster size [200]
         -unique        Output unique alignment only [false]
         -sen           Sensitive mode [False]
         -dp            Output Dot-plots
         -one           set one on one aligment mode[false]
         -gp    STR     Specify the path of gnuplot

martin-g avatar Apr 24 '24 18:04 martin-g

@BiocondaBot please add label

martin-g avatar Apr 30 '24 08:04 martin-g