diff --git a/recipes/clustalw/build.sh b/recipes/clustalw/build.sh index d7f3623f6c4d8..972a465addee7 100644 --- a/recipes/clustalw/build.sh +++ b/recipes/clustalw/build.sh @@ -1,9 +1,20 @@ #!/bin/bash +export M4="${BUILD_PREFIX}/bin/m4" +export CFLAGS="${CFLAGS} -O3" +export CXXFLAGS="${CXXFLAGS} -O3 -std=c++14" +export CPPFLAGS="${CPPFLAGS} -I${PREFIX}/include" +export LDFLAGS="${LDFLAGS} -L${PREFIX}/lib" + # use newer config.guess and config.sub that support linux-aarch64 -cp ${RECIPE_DIR}/config.* . +cp -rf ${RECIPE_DIR}/config.* . + +autoreconf -if +./configure --prefix="${PREFIX}" --disable-option-checking \ + --enable-silent-rules --disable-dependency-tracking \ + CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -mkdir -p ${PREFIX} -./configure --prefix=$PREFIX +make -j"${CPU_COUNT}" make install -ln -s ${PREFIX}/bin/clustalw2 ${PREFIX}/bin/clustalw +ln -sf ${PREFIX}/bin/clustalw2 ${PREFIX}/bin/clustalw diff --git a/recipes/clustalw/build_failure.osx-64.yaml b/recipes/clustalw/build_failure.osx-64.yaml deleted file mode 100644 index 01c731c91660f..0000000000000 --- a/recipes/clustalw/build_failure.osx-64.yaml +++ /dev/null @@ -1,106 +0,0 @@ -recipe_sha: 4c2b2e04f384c92f7e9e6f61ff66b80923d2994122fc904248cfecf4d75fccf2 # The hash of the recipe's meta.yaml at which this recipe failed to build. -skiplist: true # Set to true to skiplist this recipe so that it will be ignored as long as its latest commit is the one given above. -log: |- - MESON_ARGS=-Dbuildtype=release --prefix=$PREFIX -Dlibdir=lib - NM=x86_64-apple-darwin13.4.0-nm - NMEDIT=x86_64-apple-darwin13.4.0-nmedit - OBJC=x86_64-apple-darwin13.4.0-clang - OBJC_FOR_BUILD=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang - OTOOL=x86_64-apple-darwin13.4.0-otool - PAGESTUFF=x86_64-apple-darwin13.4.0-pagestuff - RANLIB=x86_64-apple-darwin13.4.0-ranlib - REDO_PREBINDING=x86_64-apple-darwin13.4.0-redo_prebinding - SDKROOT=/Applications/Xcode_15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk - SEGEDIT=x86_64-apple-darwin13.4.0-segedit - SEG_ADDR_TABLE=x86_64-apple-darwin13.4.0-seg_addr_table - SEG_HACK=x86_64-apple-darwin13.4.0-seg_hack - SIZE=x86_64-apple-darwin13.4.0-size - STRINGS=x86_64-apple-darwin13.4.0-strings - STRIP=x86_64-apple-darwin13.4.0-strip - _CONDA_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_apple_darwin13_4_0 - ac_cv_func_malloc_0_nonnull=yes - ac_cv_func_realloc_0_nonnull=yes - build_alias=x86_64-apple-darwin13.4.0 - host_alias=x86_64-apple-darwin13.4.0 - INFO: activate_clangxx_osx-64.sh made the following environmental changes: - CLANGXX=x86_64-apple-darwin13.4.0-clang - CXX=x86_64-apple-darwin13.4.0-clang - CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/clustalw-2.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix - CXX_FOR_BUILD=$BUILD_PREFIX/bin/x86_64-apple-darwin13.4.0-clang - DEBUG_CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -Og -g -Wall -Wextra -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/clustalw-2.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix - checking build system type... x86_64-apple-darwin13.4.0 - checking host system type... x86_64-apple-darwin13.4.0 - checking target system type... x86_64-apple-darwin13.4.0 - building for darwin13.4.0 - checking for a BSD-compatible install... /usr/bin/install -c - checking whether build environment is sane... yes - checking for a thread-safe mkdir -p... ./install-sh -c -d - checking for gawk... no - checking for mawk... no - checking for nawk... no - checking for awk... awk - checking whether make sets $(MAKE)... yes - checking whether make sets $(MAKE)... (cached) yes - checking for x86_64-apple-darwin13.4.0-gcc... x86_64-apple-darwin13.4.0-clang - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether x86_64-apple-darwin13.4.0-clang accepts -g... yes - checking for x86_64-apple-darwin13.4.0-clang option to accept ISO C89... none needed - checking for style of include used by make... GNU - checking dependency style of x86_64-apple-darwin13.4.0-clang... gcc3 - checking whether we are using the GNU C compiler... yes - checking whether x86_64-apple-darwin13.4.0-clang accepts -g... yes - checking dependency style of x86_64-apple-darwin13.4.0-clang... gcc3 - checking for x86_64-apple-darwin13.4.0-ranlib... x86_64-apple-darwin13.4.0-ranlib - checking how to run the C preprocessor... x86_64-apple-darwin13.4.0-clang -E - checking for grep that handles long lines and -e... /usr/bin/grep - checking for egrep... /usr/bin/grep -E - checking for ANSI C header files... yes - checking for sys/types.h... yes - checking for sys/stat.h... yes - checking for stdlib.h... yes - checking for string.h... yes - checking for memory.h... yes - checking for strings.h... yes - checking for inttypes.h... yes - checking for stdint.h... yes - checking for unistd.h... yes - checking for stdbool.h that conforms to C99... no - checking for _Bool... no - checking for an ANSI C-conforming const... yes - checking for size_t... yes - checking for stdlib.h... (cached) yes - checking for GNU libc compatible malloc... (cached) yes - configure: creating ./config.status - config.status: creating Makefile - config.status: creating m4/Makefile - config.status: creating src/Makefile - config.status: creating src/clustalw_version.h - config.status: creating src/config.h - config.status: executing depfiles commands - Making install in m4 - make[1]: Entering directory '$SRC_DIR/m4' - make[2]: Entering directory '$SRC_DIR/m4' - make[2]: Nothing to be done for 'install-exec-am'. - test -z "$PREFIX/share/aclocal" || .././install-sh -c -d "$PREFIX/share/aclocal" - make[2]: Leaving directory '$SRC_DIR/m4' - make[1]: Leaving directory '$SRC_DIR/m4' - Making install in src - make[1]: Entering directory '$SRC_DIR/src' - make[2]: Entering directory '$SRC_DIR/src' - x86_64-apple-darwin13.4.0-clang -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.13 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/clustalw-2.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -MT FullPairwiseAlign.o -MD -MP -MF .deps/FullPairwiseAlign.Tpo -c -o FullPairwiseAlign.o test -f './pairwise/FullPairwiseAlign.cpp' || echo './'./pairwise/FullPairwiseAlign.cpp - mv -f .deps/FullPairwiseAlign.Tpo .deps/FullPairwiseAlign.Po - x86_64-apple-darwin13.4.0-clang -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.13 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/clustalw-2.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -MT FastPairwiseAlign.o -MD -MP -MF .deps/FastPairwiseAlign.Tpo -c -o FastPairwiseAlign.o test -f './pairwise/FastPairwiseAlign.cpp' || echo './'./pairwise/FastPairwiseAlign.cpp - mv -f .deps/FastPairwiseAlign.Tpo .deps/FastPairwiseAlign.Po - x86_64-apple-darwin13.4.0-clang -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.13 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/clustalw-2.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -MT MSFFileParser.o -MD -MP -MF .deps/MSFFileParser.Tpo -c -o MSFFileParser.o test -f './fileInput/MSFFileParser.cpp' || echo './'./fileInput/MSFFileParser.cpp - mv -f .deps/MSFFileParser.Tpo .deps/MSFFileParser.Po - x86_64-apple-darwin13.4.0-clang -DHAVE_CONFIG_H -I. -D_FORTIFY_SOURCE=2 -isystem $PREFIX/include -mmacosx-version-min=10.13 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc -fvisibility-inlines-hidden -fmessage-length=0 -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/clustalw-2.1 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -MT FileReader.o -MD -MP -MF .deps/FileReader.Tpo -c -o FileReader.o test -f './fileInput/FileReader.cpp' || echo './'./fileInput/FileReader.cpp - make[2]: Leaving directory '$SRC_DIR/src' - make[1]: Leaving directory '$SRC_DIR/src' -# Last 100 lines of the build log. -category: |- - compiler error diff --git a/recipes/clustalw/meta.yaml b/recipes/clustalw/meta.yaml index bc49e54deddc0..e98a1fb67564a 100644 --- a/recipes/clustalw/meta.yaml +++ b/recipes/clustalw/meta.yaml @@ -1,23 +1,28 @@ +{% set name = "clustalw" %} +{% set version = "2.1" %} + package: - name: clustalw - version: 2.1 + name: {{ name }} + version: {{ version }} source: - url: http://www.clustal.org/download/current/clustalw-2.1.tar.gz - md5: 144df8440a0ae083d5167616c8ceeb41 + url: http://www.clustal.org/download/current/{{ name }}-{{ version }}.tar.gz + sha256: e052059b87abfd8c9e695c280bfba86a65899138c82abccd5b00478a80f49486 patches: - patch # [osx] build: - number: 11 + number: 12 run_exports: - - {{ pin_subpackage('clustalw', max_pin="x.x") }} - + - {{ pin_subpackage('clustalw', max_pin="x") }} requirements: build: - make - {{ compiler('cxx') }} + - autoconf + - automake + - libtool test: commands: @@ -25,16 +30,22 @@ test: - clustalw H 2>&1 | grep "CLUSTAL 2.1" about: - home: http://www.clustal.org/clustal2/ - license: "GNU Lesser GPL" - summary: ClustalW2 is a general purpose multiple sequence alignment program for DNA or proteins. + home: "http://www.clustal.org/clustal2" + license: "LGPL-3.0-or-later" + license_family: LGPL + license_file: "COPYING.LESSER" + summary: "ClustalW2 is a general purpose multiple sequence alignment program for DNA or proteins." + doc_url: "http://www.clustal.org/download/clustalw_help.txt" extra: additional-platforms: - linux-aarch64 - skip-lints: - - should_not_be_noarch_source + - osx-arm64 identifiers: - - biotools:trinity - - doi:10.1038/nbt.1883 + - biotools:clustalw_biolib + - biotools:ClustalW2_Phylogeny_API_EBI + - biotools:clustalw2_phylogeny_ebi + - biotools:clustalw2_ebi + - doi:10.1093/bioinformatics/btm404 + - doi:10.1093/nar/22.22.4673 - usegalaxy-eu:clustalw