Commit Graph

15 Commits

Author SHA1 Message Date
Kun Zhang
90a7ed6fcc A few fix-ups.
1. make google/protobuf/stubs/pbconfig.h before making protoc, otherwise it
won't build a freshly checked-out code.
2. Document the build environments that have been tested to work.
3. Add support for MINGW64
2015-04-16 17:56:12 -07:00
Kun Zhang
1c12612bad Strip Mac artifacts 2015-04-08 10:39:21 -07:00
Kun Zhang
62903ec075 Make the osx binary compatible with 10.7 and later 2015-04-08 00:14:36 -07:00
Kun Zhang
5c265faedb Fix osx dependency check. otool prints the file name in the first line. Should skip it 2015-04-07 21:06:37 -07:00
Kun Zhang
6f2bc19bb3 Add cross-compilation for Windows on Linux using MinGW. Check library dependencies of artifact 2015-04-07 20:43:20 -07:00
Kun Zhang
c5a2a7c3db Process to deploy artifacts for multiple platforms into a single
release.

- Do not close the staging repository automatically
- Added staging.repository property
- Updated README with instructions for deployment
- Fix building 32-bit Mac artifact
2015-04-06 17:36:33 -07:00
Kun Zhang
b00a5d7ee0 Document more about cross-compilation; Post-build check for the actual arch of the artifact 2015-04-02 13:14:29 -07:00
Kun Zhang
9a8bae72ab Guard cd path with quotes 2015-04-02 10:25:02 -07:00
Kun Zhang
87b85019e6 Make it work on Mac 2015-04-01 18:03:23 -07:00
Kun Zhang
c8eda8e9d8 Run make protoc(.exe) instead of just make, because the latter fails on Cygwin with mingw gcc; build-protoc.sh works under Cygwin; build-protoc.sh will use the --host parameter consistent with what os-maven-plugin has detected 2015-04-01 16:23:15 -07:00
Kun Zhang
ae9177d645 Switch from Gradle to Maven. 2015-03-31 18:26:28 -07:00
Kun Zhang
e2f858574b Make clean before making 2015-03-31 16:59:33 -07:00
Kun Zhang
e4f1f93313 Stop calling strip, pass -s to linker instead 2015-03-31 16:28:57 -07:00
Kun Zhang
36093ca45e Tweak flags to make statically-linked binary under Cygwin 2015-03-31 15:46:40 -07:00
zhangkun83
488162db1e Gradle script to publish protoc binaries 2015-03-25 16:07:50 -07:00