Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
python-compile
Commits
ea7d3458
Commit
ea7d3458
authored
Jun 18, 2020
by
EKbfh
🐼
Browse files
Merge branch 'test-3.6.10' into 'master'
Remove lto flag See merge request
!1
parents
b4088aca
054d4d65
Pipeline
#24268
passed with stages
in 37 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
ea7d3458
...
...
@@ -7,8 +7,8 @@ variables:
PYTHON_VERSION_3_8
:
"
3.8.3"
S3_BASE
:
https://s3.getnoc.com
S3_BUCKET
:
$CI_PROJECT_NAMESPACE
COMPILE_FLAGS_DEB
:
"
--with-lto
--with-system-ffi
--with-computed-gotos
--enable-loadable-sqlite-extensions"
COMPILE_FLAGS_RPM
:
"
--with-lto
--with-system-ffi
--with-computed-gotos
--enable-loadable-sqlite-extensions"
COMPILE_FLAGS_DEB
:
"
--with-system-ffi
--with-computed-gotos
--enable-loadable-sqlite-extensions"
COMPILE_FLAGS_RPM
:
"
--with-system-ffi
--with-computed-gotos
--enable-loadable-sqlite-extensions"
.base_compile
:
stage
:
compile
...
...
@@ -72,7 +72,7 @@ compile_RedHat:
-
tar -zxf /tmp/python.tar.gz -C /opt
-
cd /opt/Python-$PYTHON_VERSION_3_8
-
./configure --prefix=/opt/python$PYTHON_VERSION_3_8 --enable-optimizations $COMPILE_FLAGS_RPM
-
make
-s
-
make
-
make install
-
/opt/python$PYTHON_VERSION_3_8/bin/python3 -V ||
true
-
tar czf "${CI_PROJECT_DIR}/python${PYTHON_VERSION_3_8}.tar.gz" -C /opt/python$PYTHON_VERSION_3_8/ .
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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