Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
fcd3d68c
"vscode:/vscode.git/clone" did not exist on "44ec8bed76ddab440288e61e5b586ecec3cc2ccc"
Commit
fcd3d68c
authored
Feb 19, 2019
by
Ivan Pozdeev
Browse files
Merge branch 'devel' into ubuntu-step-up
# Conflicts: # README.rst
parents
aaa12415
c9623062
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
12 deletions
+19
-12
.travis.yml
.travis.yml
+4
-3
README.rst
README.rst
+0
-1
common_utils.sh
common_utils.sh
+7
-2
library_builders.sh
library_builders.sh
+2
-2
osx_utils.sh
osx_utils.sh
+3
-3
tests/test_fill_pypy_ver.sh
tests/test_fill_pypy_ver.sh
+2
-0
tests/test_library_builders.sh
tests/test_library_builders.sh
+1
-1
No files found.
.travis.yml
View file @
fcd3d68c
...
@@ -19,21 +19,18 @@ matrix:
...
@@ -19,21 +19,18 @@ matrix:
dist
:
xenial
dist
:
xenial
env
:
env
:
-
TEST_BUILDS=1
-
TEST_BUILDS=1
sudo
:
required
# 32-bit builds
# 32-bit builds
-
os
:
linux
-
os
:
linux
dist
:
xenial
dist
:
xenial
env
:
env
:
-
TEST_BUILDS=1
-
TEST_BUILDS=1
-
PLAT=i686
-
PLAT=i686
sudo
:
required
# Builds with caching
# Builds with caching
-
os
:
linux
-
os
:
linux
dist
:
xenial
dist
:
xenial
env
:
env
:
-
TEST_BUILDS=1
-
TEST_BUILDS=1
-
USE_CCACHE=1
-
USE_CCACHE=1
sudo
:
required
# OSX builds
# OSX builds
-
os
:
osx
-
os
:
osx
osx_image
:
xcode6.4
osx_image
:
xcode6.4
...
@@ -108,6 +105,10 @@ matrix:
...
@@ -108,6 +105,10 @@ matrix:
env
:
env
:
-
PYTHON_VERSION=pypy-6.0
-
PYTHON_VERSION=pypy-6.0
-
VENV=venv
-
VENV=venv
-
os
:
osx
env
:
-
PYTHON_VERSION=pypy-7.0
-
VENV=venv
# Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
# Default OSX (xcode image) is 10.13 (xcode 9.4.1) as of 2018-08-03
# See: https://docs.travis-ci.com/user/reference/osx/
# See: https://docs.travis-ci.com/user/reference/osx/
-
os
:
osx
-
os
:
osx
...
...
README.rst
View file @
fcd3d68c
...
@@ -189,7 +189,6 @@ To use these scripts
...
@@ -189,7 +189,6 @@ To use these scripts
# The Travis Python version is unrelated to the version we build and test
# The Travis Python version is unrelated to the version we build and test
# with. This is set with the MB_PYTHON_VERSION variable.
# with. This is set with the MB_PYTHON_VERSION variable.
python: 3.5
python: 3.5
sudo: required
dist: xenial
dist: xenial
services: docker
services: docker
...
...
common_utils.sh
View file @
fcd3d68c
...
@@ -359,7 +359,7 @@ function fill_submodule {
...
@@ -359,7 +359,7 @@ function fill_submodule {
PYPY_URL=https://bitbucket.org/pypy/pypy/downloads
PYPY_URL=https://bitbucket.org/pypy/pypy/downloads
# As of 201
8
-0
4-25
, the latest verions of PyPy.
# As of 201
9
-0
2-07
, the latest verions of PyPy.
LATEST_PP_4p0=4.0.1
LATEST_PP_4p0=4.0.1
LATEST_PP_4=
$LATEST_PP_4p0
LATEST_PP_4=
$LATEST_PP_4p0
...
@@ -377,6 +377,9 @@ LATEST_PP_5=$LATEST_PP_5p10
...
@@ -377,6 +377,9 @@ LATEST_PP_5=$LATEST_PP_5p10
LATEST_PP_6p0=6.0.0
LATEST_PP_6p0=6.0.0
LATEST_PP_6=
$LATEST_PP_6p0
LATEST_PP_6=
$LATEST_PP_6p0
LATEST_PP_7p0=7.0.0
LATEST_PP_7=
$LATEST_PP_7p0
function unroll_version {
function unroll_version {
# Convert major or major.minor format to major.minor.micro using the above
# Convert major or major.minor format to major.minor.micro using the above
# values recursively
# values recursively
...
@@ -413,7 +416,9 @@ function get_pypy_build_prefix {
...
@@ -413,7 +416,9 @@ function get_pypy_build_prefix {
if [[
$version
=~ ([0-9]+)
\.
([0-9]+) ]]; then
if [[
$version
=~ ([0-9]+)
\.
([0-9]+) ]]; then
local major=
${
BASH_REMATCH
[1]
}
local major=
${
BASH_REMATCH
[1]
}
local minor=
${
BASH_REMATCH
[2]
}
local minor=
${
BASH_REMATCH
[2]
}
if ((
$major
> 5 || (
$major
== 5 &&
$minor
>= 3) )); then
if ((
$major
> 6 )); then
echo "
pypy2.7-v
"
elif ((
$major
> 5 || (
$major
== 5 &&
$minor
>= 3) )); then
echo "
pypy2-v
"
echo "
pypy2-v
"
else
else
echo "
pypy-
"
echo "
pypy-
"
...
...
library_builders.sh
View file @
fcd3d68c
...
@@ -41,9 +41,9 @@ FLEX_VERSION=${FLEX_VERSION:-2.6.4}
...
@@ -41,9 +41,9 @@ FLEX_VERSION=${FLEX_VERSION:-2.6.4}
BISON_VERSION
=
${
BISON_VERSION
:-
3
.0.4
}
BISON_VERSION
=
${
BISON_VERSION
:-
3
.0.4
}
FFTW_VERSION
=
${
FFTW_VERSION
:-
3
.3.7
}
FFTW_VERSION
=
${
FFTW_VERSION
:-
3
.3.7
}
CFITSIO_VERSION
=
${
CFITSIO_VERSION
:-
3370
}
CFITSIO_VERSION
=
${
CFITSIO_VERSION
:-
3370
}
OPENSSL_ROOT
=
openssl-1.0.2
l
OPENSSL_ROOT
=
openssl-1.0.2
q
# Hash from https://www.openssl.org/source/openssl-1.0.2?.tar.gz.sha256
# Hash from https://www.openssl.org/source/openssl-1.0.2?.tar.gz.sha256
OPENSSL_HASH
=
ce07195b659e75f4e1db43552860070061f156a98bb37b672b101ba6e3ddf30c
OPENSSL_HASH
=
5744cfcbcec2b1b48629f7354203bc1e5e9b5466998bbccc5b5fcde3b18eb684
OPENSSL_DOWNLOAD_URL
=
https://www.openssl.org/source
OPENSSL_DOWNLOAD_URL
=
https://www.openssl.org/source
...
...
osx_utils.sh
View file @
fcd3d68c
...
@@ -12,14 +12,14 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
...
@@ -12,14 +12,14 @@ GET_PIP_URL=https://bootstrap.pypa.io/get-pip.py
DOWNLOADS_SDIR
=
downloads
DOWNLOADS_SDIR
=
downloads
WORKING_SDIR
=
working
WORKING_SDIR
=
working
# As of 2
0 Octo
ber 2018 - latest Python of each version with binary download
# As of 2
5 Decem
ber 2018 - latest Python of each version with binary download
# available.
# available.
# See: https://www.python.org/downloads/mac-osx/
# See: https://www.python.org/downloads/mac-osx/
LATEST_2p7
=
2.7.15
LATEST_2p7
=
2.7.15
LATEST_3p4
=
3.4.4
LATEST_3p4
=
3.4.4
LATEST_3p5
=
3.5.4
LATEST_3p5
=
3.5.4
LATEST_3p6
=
3.6.
7
LATEST_3p6
=
3.6.
8
LATEST_3p7
=
3.7.
1
LATEST_3p7
=
3.7.
2
function
check_python
{
function
check_python
{
...
...
tests/test_fill_pypy_ver.sh
View file @
fcd3d68c
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
[
"
$(
fill_pypy_ver 4
)
"
==
$LATEST_PP_4
]
||
ingest
"lpp4"
[
"
$(
fill_pypy_ver 4
)
"
==
$LATEST_PP_4
]
||
ingest
"lpp4"
[
"
$(
fill_pypy_ver 5
)
"
==
$LATEST_PP_5
]
||
ingest
"lpp5"
[
"
$(
fill_pypy_ver 5
)
"
==
$LATEST_PP_5
]
||
ingest
"lpp5"
[
"
$(
fill_pypy_ver 6
)
"
==
$LATEST_PP_6
]
||
ingest
"lpp6"
[
"
$(
fill_pypy_ver 6
)
"
==
$LATEST_PP_6
]
||
ingest
"lpp6"
[
"
$(
fill_pypy_ver 7
)
"
==
$LATEST_PP_7
]
||
ingest
"lpp7"
[
"
$(
fill_pypy_ver 4.0
)
"
==
$LATEST_PP_4p0
]
||
ingest
[
"
$(
fill_pypy_ver 4.0
)
"
==
$LATEST_PP_4p0
]
||
ingest
[
"
$(
fill_pypy_ver 5.0
)
"
==
$LATEST_PP_5p0
]
||
ingest
[
"
$(
fill_pypy_ver 5.0
)
"
==
$LATEST_PP_5p0
]
||
ingest
[
"
$(
fill_pypy_ver 5.1
)
"
==
$LATEST_PP_5p1
]
||
ingest
[
"
$(
fill_pypy_ver 5.1
)
"
==
$LATEST_PP_5p1
]
||
ingest
...
@@ -13,5 +14,6 @@
...
@@ -13,5 +14,6 @@
[
"
$(
fill_pypy_ver 5.9
)
"
==
$LATEST_PP_5p9
]
||
ingest
[
"
$(
fill_pypy_ver 5.9
)
"
==
$LATEST_PP_5p9
]
||
ingest
[
"
$(
fill_pypy_ver 5.10
)
"
==
$LATEST_PP_5p10
]
||
ingest
[
"
$(
fill_pypy_ver 5.10
)
"
==
$LATEST_PP_5p10
]
||
ingest
[
"
$(
fill_pypy_ver 6.0
)
"
==
$LATEST_PP_6p0
]
||
ingest
[
"
$(
fill_pypy_ver 6.0
)
"
==
$LATEST_PP_6p0
]
||
ingest
[
"
$(
fill_pypy_ver 7.0
)
"
==
$LATEST_PP_7p0
]
||
ingest
[
"
$(
fill_pypy_ver 4.0.1
)
"
==
"4.0.1"
]
||
ingest
[
"
$(
fill_pypy_ver 4.0.1
)
"
==
"4.0.1"
]
||
ingest
[
"
$(
fill_pypy_ver 5.0.1
)
"
==
"5.0.1"
]
||
ingest
[
"
$(
fill_pypy_ver 5.0.1
)
"
==
"5.0.1"
]
||
ingest
tests/test_library_builders.sh
View file @
fcd3d68c
...
@@ -18,7 +18,7 @@ suppress build_swig
...
@@ -18,7 +18,7 @@ suppress build_swig
# E.g. arb (below) requires a couple of other libraries.
# E.g. arb (below) requires a couple of other libraries.
# Run here just for the output, even though they fail.
# Run here just for the output, even though they fail.
(
set
+e
;
(
set
+e
;
build_github fredrik-johansson/arb 2.1
5
.0
;
build_github fredrik-johansson/arb 2.1
6
.0
;
build_github glennrp/libpng v1.6.36
;
build_github glennrp/libpng v1.6.36
;
build_github wbhart/mpir mpir-3.0.0
build_github wbhart/mpir mpir-3.0.0
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment