You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
53 lines
1.9 KiB
Tcl
53 lines
1.9 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
PortGroup python 1.0
|
|
|
|
github.setup pytorch fairseq 0.12.2 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
name py-${github.project}
|
|
|
|
license MIT
|
|
maintainers nomaintainer
|
|
|
|
description Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
|
|
|
|
long_description Fairseq(-py) is a sequence modeling toolkit that \
|
|
allows researchers and developers to train custom \
|
|
models for translation, summarization, language \
|
|
modeling and other text generation tasks.
|
|
|
|
checksums rmd160 05969920d445518f940eb3bc0bb4fefe74e64d05 \
|
|
sha256 a34ccef8f779da9dd878fd6d21633de8af8573075e6ef087fd945598cf170c92 \
|
|
size 12042596
|
|
|
|
python.versions 310
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_lib-append \
|
|
port:py${python.version}-setuptools
|
|
|
|
depends_run-append \
|
|
port:py${python.version}-cffi \
|
|
port:py${python.version}-cython \
|
|
port:py${python.version}-hydra-core \
|
|
port:py${python.version}-omegaconf \
|
|
port:py${python.version}-numpy \
|
|
port:py${python.version}-pytorch \
|
|
port:py${python.version}-regex \
|
|
port:py${python.version}-sacrebleu \
|
|
port:py${python.version}-tqdm
|
|
|
|
# https://github.com/pytorch/fairseq#requirements-and-installation
|
|
configure.cxx_stdlib \
|
|
libc++
|
|
|
|
use_parallel_build \
|
|
no
|
|
|
|
test.run yes
|
|
}
|