Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marian-nmt/sentencepiece.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaku Kudo <taku@google.com>2020-10-12 20:36:35 +0300
committerTaku Kudo <taku@google.com>2020-10-12 20:36:35 +0300
commit335f06b4a13a6b39ec3d2076a430a8cf6a9bf72c (patch)
tree3266d8e877c014682287dd3dea83c5f7a33dbb83
parent3e7848cc89f30c15bc8dcd465952151e07610830 (diff)
Fixed typo.
-rw-r--r--.travis.yml27
-rwxr-xr-xpython/make_py_wheel.sh13
2 files changed, 28 insertions, 12 deletions
diff --git a/.travis.yml b/.travis.yml
index 770cdf1..c2d3b3f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,7 +27,11 @@ matrix:
services: docker
- os: linux
arch: arm64
- env: IMAGE=arm64/ubuntu:rolling COMMAND=build_linux_gcc_ubuntu
+ env: IMAGE=arm64v8/ubuntu:rolling COMMAND=build_linux_gcc_ubuntu
+ services: docker
+ - os: linux
+ arch: arm64
+ env: IMAGE=arm32v7/ubuntu:rolling COMMAND=build_linux_gcc_ubuntu
services: docker
- os: linux
arch: ppc64le
@@ -49,6 +53,27 @@ matrix:
- $TRAVIS_BUILD_DIR/python/make_py_wheel.sh ${IMAGE}
- if [[ "$RELEASE_FILES" != "" ]]; then ls -l $RELEASE_FILES ; fi
services: docker
+ - os: linux
+ arch: arm64
+ env: IMAGE=aarch64 COMMAND=make_py_wheel_py RELEASE_FILES="$TRAVIS_BUILD_DIR/python/dist/*manylinux*.whl"
+ script:
+ - $TRAVIS_BUILD_DIR/python/make_py_wheel.sh ${IMAGE}
+ - if [[ "$RELEASE_FILES" != "" ]]; then ls -l $RELEASE_FILES ; fi
+ services: docker
+ - os: linux
+ arch: ppc64le
+ env: IMAGE=ppc64le COMMAND=make_py_wheel_py RELEASE_FILES="$TRAVIS_BUILD_DIR/python/dist/*manylinux*.whl"
+ script:
+ - $TRAVIS_BUILD_DIR/python/make_py_wheel.sh ${IMAGE}
+ - if [[ "$RELEASE_FILES" != "" ]]; then ls -l $RELEASE_FILES ; fi
+ services: docker
+ - os: linux
+ arch: s390x
+ env: IMAGE=s390x COMMAND=make_py_wheel_py RELEASE_FILES="$TRAVIS_BUILD_DIR/python/dist/*manylinux*.whl"
+ script:
+ - $TRAVIS_BUILD_DIR/python/make_py_wheel.sh ${IMAGE}
+ - if [[ "$RELEASE_FILES" != "" ]]; then ls -l $RELEASE_FILES ; fi
+ services: docker
- os: osx
osx_image: xcode9.4
env: IMAGE=native COMMAND=build_osx
diff --git a/python/make_py_wheel.sh b/python/make_py_wheel.sh
index 5a2a4f7..303eef3 100755
--- a/python/make_py_wheel.sh
+++ b/python/make_py_wheel.sh
@@ -33,15 +33,6 @@ build() {
mkdir -p build
cd build
- # Install cmake
- curl -L -O https://cmake.org/files/v3.12/cmake-${CMAKE_VERSION}.tar.gz
- tar zxfv cmake-${CMAKE_VERSION}.tar.gz
- cd cmake-${CMAKE_VERSION}
- ./bootstrap
- make -j4
- make install
- cd ..
-
# Install sentencepiece
cmake ../.. -DSPM_ENABLE_SHARED=OFF
make -j4
@@ -75,6 +66,6 @@ if [ "$1" = "native" ]; then
elif [ "$#" -eq 1 ]; then
run_docker quay.io/pypa/manylinux2014_${1} ${1}
else
- run_docker quay.io/pypa/manylinux1_i686 i686
- run_docker quay.io/pypa/manylinux1_x86_64 x86_64
+ run_docker quay.io/pypa/manylinux2014_i686 i686
+ run_docker quay.io/pypa/manylinux2014_x86_64 x86_64
fi