Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
c3ffdabe
Commit
c3ffdabe
authored
Jan 10, 2020
by
salamaniibm
Committed by
Adam Cozzette
Jan 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correcting the s390x Arch name
parent
5a578d2a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
build.sh
kokoro/release/protoc/linux/build.sh
+1
-1
README.md
protoc-artifacts/README.md
+1
-1
build-protoc.sh
protoc-artifacts/build-protoc.sh
+3
-3
build-zip.sh
protoc-artifacts/build-zip.sh
+2
-2
pom.xml
protoc-artifacts/pom.xml
+2
-2
No files found.
kokoro/release/protoc/linux/build.sh
View file @
c3ffdabe
...
...
@@ -23,7 +23,7 @@ sudo apt install -y g++-powerpc64le-linux-gnu
protoc-artifacts/build-protoc.sh linux ppcle_64 protoc
sudo
apt
install
-y
g++-s390x-linux-gnu
protoc-artifacts/build-protoc.sh linux s390x
_64
protoc
protoc-artifacts/build-protoc.sh linux s390x protoc
# Use docker image to build linux artifacts.
DOCKER_IMAGE_NAME
=
protobuf/protoc_
$(
sha1sum
protoc-artifacts/Dockerfile |
cut
-f1
-d
" "
)
...
...
protoc-artifacts/README.md
View file @
c3ffdabe
...
...
@@ -123,7 +123,7 @@ target directory layout:
protoc.exe
+ ppcle_64
protoc.exe
+ s390x
_64
+ s390x
protoc.exe
+ osx
+ x86_64
...
...
protoc-artifacts/build-protoc.sh
View file @
c3ffdabe
...
...
@@ -93,7 +93,7 @@ checkArch ()
assertEq
$format
"elf64-x86-64"
$LINENO
elif
[[
"
$ARCH
"
==
aarch_64
]]
;
then
assertEq
$format
"elf64-little"
$LINENO
elif
[[
"
$ARCH
"
==
s390x
_64
]]
;
then
elif
[[
"
$ARCH
"
==
s390x
]]
;
then
if
[[
$host_machine
==
s390x
]]
;
then
assertEq
$format
"elf64-s390"
$LINENO
else
...
...
@@ -149,7 +149,7 @@ checkDependencies ()
white_list
=
"linux-gate
\.
so
\.
1
\|
libpthread
\.
so
\.
0
\|
libm
\.
so
\.
6
\|
libc
\.
so
\.
6
\|
ld-linux
\.
so
\.
2"
elif
[[
"
$ARCH
"
==
x86_64
]]
;
then
white_list
=
"linux-vdso
\.
so
\.
1
\|
libpthread
\.
so
\.
0
\|
libm
\.
so
\.
6
\|
libc
\.
so
\.
6
\|
ld-linux-x86-64
\.
so
\.
2"
elif
[[
"
$ARCH
"
==
s390x
_64
]]
;
then
elif
[[
"
$ARCH
"
==
s390x
]]
;
then
if
[[
$host_machine
!=
s390x
]]
;
then
dump_cmd
=
'objdump -p '
"
$1
"
' | grep NEEDED'
fi
...
...
@@ -226,7 +226,7 @@ elif [[ "$(uname)" == Linux* ]]; then
elif
[[
"
$ARCH
"
==
ppcle_64
]]
;
then
CXXFLAGS
=
"
$CXXFLAGS
-m64"
CONFIGURE_ARGS
=
"
$CONFIGURE_ARGS
--host=powerpc64le-linux-gnu"
elif
[[
"
$ARCH
"
==
s390x
_64
]]
;
then
elif
[[
"
$ARCH
"
==
s390x
]]
;
then
CXXFLAGS
=
"
$CXXFLAGS
-m64"
CONFIGURE_ARGS
=
"
$CONFIGURE_ARGS
--host=s390x-linux-gnu"
else
...
...
protoc-artifacts/build-zip.sh
View file @
c3ffdabe
...
...
@@ -22,7 +22,7 @@ included. Each invocation will create 9 zip packages:
dist/<TARGET>-<VERSION_NUMBER>-linux-x86_64.zip
dist/<TARGET>-<VERSION_NUMBER>-linux-aarch_64.zip
dist/<TARGET>-<VERSION_NUMBER>-linux-ppcle_64.zip
dist/<TARGET>-<VERSION_NUMBER>-linux-s390x
_64
.zip
dist/<TARGET>-<VERSION_NUMBER>-linux-s390x.zip
EOF
exit
1
fi
...
...
@@ -40,7 +40,7 @@ declare -a FILE_NAMES=( \
linux-x86_64.zip linux-x86_64.exe
\
linux-aarch_64.zip linux-aarch_64.exe
\
linux-ppcle_64.zip linux-ppcle_64.exe
\
linux-s390x
_64.zip linux-s390x_64
.exe
\
linux-s390x
.zip linux-s390x
.exe
\
)
# List of all well-known types to be included.
...
...
protoc-artifacts/pom.xml
View file @
c3ffdabe
...
...
@@ -86,8 +86,8 @@
<type>
exe
</type>
</artifact>
<artifact>
<file>
${basedir}/target/linux/s390x
_64
/protoc.exe
</file>
<classifier>
linux-s390x
_64
</classifier>
<file>
${basedir}/target/linux/s390x/protoc.exe
</file>
<classifier>
linux-s390x
</classifier>
<type>
exe
</type>
</artifact>
</artifacts>
...
...
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