File tree Expand file tree Collapse file tree 3 files changed +24
-3
lines changed
contrib/gitian-descriptors Expand file tree Collapse file tree 3 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,6 @@ script: |
132
132
export PATH=${WRAP_DIR}:${PATH}
133
133
134
134
# Create the release tarball using (arbitrarily) the first host
135
- export GIT_DIR="$PWD/.git"
136
135
./autogen.sh
137
136
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
138
137
make dist
@@ -145,6 +144,9 @@ script: |
145
144
find bitcoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST
146
145
popd
147
146
147
+ # Workaround for tarball not building with the bare tag version (prep)
148
+ make -C src obj/build.h
149
+
148
150
ORIGPATH="$PATH"
149
151
# Extract the release tarball into a dir for each host and build
150
152
for i in ${HOSTS}; do
@@ -155,6 +157,11 @@ script: |
155
157
mkdir -p ${INSTALLPATH}
156
158
tar --strip-components=1 -xf ../$SOURCEDIST
157
159
160
+ # Workaround for tarball not building with the bare tag version
161
+ echo '#!/bin/true' >share/genbuild.sh
162
+ mkdir src/obj
163
+ cp ../src/obj/build.h src/obj/
164
+
158
165
CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS} CFLAGS="${HOST_CFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}" LDFLAGS="${HOST_LDFLAGS}"
159
166
make ${MAKEOPTS}
160
167
make ${MAKEOPTS} -C src check-security
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ script: |
101
101
export PATH=${WRAP_DIR}:${PATH}
102
102
103
103
# Create the release tarball using (arbitrarily) the first host
104
- export GIT_DIR="$PWD/.git"
105
104
./autogen.sh
106
105
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
107
106
make dist
@@ -115,6 +114,9 @@ script: |
115
114
find bitcoin-* | sort | tar --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST
116
115
popd
117
116
117
+ # Workaround for tarball not building with the bare tag version (prep)
118
+ make -C src obj/build.h
119
+
118
120
ORIGPATH="$PATH"
119
121
# Extract the release tarball into a dir for each host and build
120
122
for i in ${HOSTS}; do
@@ -125,6 +127,11 @@ script: |
125
127
mkdir -p ${INSTALLPATH}
126
128
tar --strip-components=1 -xf ../$SOURCEDIST
127
129
130
+ # Workaround for tarball not building with the bare tag version
131
+ echo '#!/bin/true' >share/genbuild.sh
132
+ mkdir src/obj
133
+ cp ../src/obj/build.h src/obj/
134
+
128
135
CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS}
129
136
make ${MAKEOPTS}
130
137
make install-strip DESTDIR=${INSTALLPATH}
Original file line number Diff line number Diff line change @@ -116,7 +116,6 @@ script: |
116
116
export PATH=${WRAP_DIR}:${PATH}
117
117
118
118
# Create the release tarball using (arbitrarily) the first host
119
- export GIT_DIR="$PWD/.git"
120
119
./autogen.sh
121
120
CONFIG_SITE=${BASEPREFIX}/`echo "${HOSTS}" | awk '{print $1;}'`/share/config.site ./configure --prefix=/
122
121
make dist
@@ -132,6 +131,9 @@ script: |
132
131
cp ../$SOURCEDIST $OUTDIR/src
133
132
popd
134
133
134
+ # Workaround for tarball not building with the bare tag version (prep)
135
+ make -C src obj/build.h
136
+
135
137
ORIGPATH="$PATH"
136
138
# Extract the release tarball into a dir for each host and build
137
139
for i in ${HOSTS}; do
@@ -142,6 +144,11 @@ script: |
142
144
mkdir -p ${INSTALLPATH}
143
145
tar --strip-components=1 -xf ../$SOURCEDIST
144
146
147
+ # Workaround for tarball not building with the bare tag version
148
+ echo '#!/bin/true' >share/genbuild.sh
149
+ mkdir src/obj
150
+ cp ../src/obj/build.h src/obj/
151
+
145
152
CONFIG_SITE=${BASEPREFIX}/${i}/share/config.site ./configure --prefix=/ --disable-ccache --disable-maintainer-mode --disable-dependency-tracking ${CONFIGFLAGS} CFLAGS="${HOST_CFLAGS}" CXXFLAGS="${HOST_CXXFLAGS}"
146
153
make ${MAKEOPTS}
147
154
make ${MAKEOPTS} -C src check-security
You can’t perform that action at this time.
0 commit comments