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
fe7b5667
Commit
fe7b5667
authored
Apr 21, 2015
by
Jisi Liu
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #287 from zhangkun83/protoc-artifacts-fixup
A few fix-ups for protoc-artifacts
parents
ba054540
90a7ed6f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
+11
-4
README.md
protoc-artifacts/README.md
+7
-3
build-protoc.sh
protoc-artifacts/build-protoc.sh
+4
-1
No files found.
protoc-artifacts/README.md
View file @
fe7b5667
...
...
@@ -63,9 +63,6 @@ deployment for all platforms. Currently the following platforms are supported:
-
MSYS with MinGW32 (x86_32 only)
-
MacOSX (x86_32 and x86_64)
Remove any
``SNAPSHOT``
or
``pre``
suffix from the version string before
deploying.
Use the following command to deploy artifacts for the host platform to a
staging repository.
```
...
...
@@ -118,3 +115,10 @@ stored:
</activeProfiles>
</settings>
```
### Tested build environments
We have succesfully built artifacts on the following environments:
-
Linux x86_32 and x86_64: Ubuntu 14.04.2 64-bit
-
Windows x86_32: MSYS with
``mingw32-gcc-g++ 4.8.1-4``
on Windows 7 64-bit
-
Windows x86_64: Cygwin64 with
``mingw64-x86_64-gcc-g++ 4.8.3-1``
on Windows 7 64-bit
-
Mac OS X x86_32 and x86_64: Mac OS X 10.9.5
protoc-artifacts/build-protoc.sh
View file @
fe7b5667
...
...
@@ -158,6 +158,9 @@ if [[ "$(uname)" == CYGWIN* ]]; then
elif
[[
"
$(
uname
)
"
==
MINGW32
*
]]
;
then
assertEq
"
$OS
"
windows
$LINENO
assertEq
"
$ARCH
"
x86_32
$LINENO
elif
[[
"
$(
uname
)
"
==
MINGW64
*
]]
;
then
assertEq
"
$OS
"
windows
$LINENO
assertEq
"
$ARCH
"
x86_64
$LINENO
elif
[[
"
$(
uname
)
"
==
Linux
*
]]
;
then
if
[[
"
$OS
"
==
linux
]]
;
then
if
[[
"
$ARCH
"
==
x86_64
]]
;
then
...
...
@@ -209,7 +212,7 @@ export CXXFLAGS LDFLAGS
TARGET_FILE
=
target/protoc.exe
cd
"
$WORKING_DIR
"
/..
&&
./configure
$CONFIGURE_ARGS
&&
cd
src
&&
make clean
&&
make
$MAKE_TARGET
&&
cd
src
&&
make clean
&&
make
google/protobuf/stubs/pbconfig.h
$MAKE_TARGET
&&
cd
"
$WORKING_DIR
"
&&
mkdir
-p
target
&&
(
cp
../src/protoc
$TARGET_FILE
||
cp
../src/protoc.exe
$TARGET_FILE
)
||
exit
1
...
...
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