aboutsummaryrefslogtreecommitdiff
path: root/contrib/gitian-descriptors/protobuf-win32.yml
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-01-20 13:38:50 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2014-01-21 14:02:13 +0100
commitf622232bcf8ebc7398f4c8988711155c22705fd4 (patch)
tree8ab9d8cc0bba7051f94f3e77817191e770304383 /contrib/gitian-descriptors/protobuf-win32.yml
parent77a1607ce859da8a425b5c27c2b75d45ac795ebb (diff)
gitian: Windows 64 bit support
- Build a 64 bit version of all dependencies - Show 32/64 bit version in "About..." for x86 - Export 64-bit .exes and installer from gitian build
Diffstat (limited to 'contrib/gitian-descriptors/protobuf-win32.yml')
-rw-r--r--contrib/gitian-descriptors/protobuf-win32.yml45
1 files changed, 0 insertions, 45 deletions
diff --git a/contrib/gitian-descriptors/protobuf-win32.yml b/contrib/gitian-descriptors/protobuf-win32.yml
deleted file mode 100644
index e93f92bbfe..0000000000
--- a/contrib/gitian-descriptors/protobuf-win32.yml
+++ /dev/null
@@ -1,45 +0,0 @@
----
-name: "protobuf-win32"
-suites:
-- "precise"
-architectures:
-- "amd64"
-packages:
-- "mingw-w64"
-- "g++-mingw-w64"
-- "zip"
-- "faketime"
-reference_datetime: "2013-04-15 00:00:00"
-remotes: []
-files:
-- "protobuf-2.5.0.tar.bz2"
-script: |
- #
- export TZ=UTC
- export INSTALLPREFIX=$OUTDIR/staging/deps
- export HOST=i686-w64-mingw32
- OPTFLAGS="-O2"
- # Integrity Check
- echo "13bfc5ae543cf3aa180ac2485c0bc89495e3ae711fc6fab4f8ffe90dfb4bb677 protobuf-2.5.0.tar.bz2" | sha256sum -c
-
- #
- mkdir -p $INSTALLPREFIX
-
- tar xjf protobuf-2.5.0.tar.bz2
- cd protobuf-2.5.0
- # First: build a native (linux) protoc
- ./configure --enable-shared=no --disable-dependency-tracking
- make
- mkdir -p $INSTALLPREFIX/host/bin
- cp src/protoc $INSTALLPREFIX/host/bin
- # Now recompile with the mingw cross-compiler:
- make distclean
- ./configure --prefix=$INSTALLPREFIX --enable-shared=no --disable-dependency-tracking --with-protoc=$INSTALLPREFIX/host/bin/protoc --host=$HOST CXXFLAGS="-frandom-seed=11 ${OPTFLAGS}"
- make
- make install
- cd $INSTALLPREFIX
- export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1
- export FAKETIME=$REFERENCE_DATETIME
- zip -r $OUTDIR/protobuf-win32-2.5.0-gitian-r4.zip include lib host
- unset LD_PRELOAD
- unset FAKETIME