Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
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
libzmq
Commits
33c5985e
Commit
33c5985e
authored
Dec 19, 2015
by
Constantin Rack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: build scripts don't need full git history
Solution: add `--depth 1` parameter to `git clone` commands
parent
4705feb2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
builds/android/Dockerfile
+1
-1
build.sh
builds/android/build.sh
+1
-1
ci_build.sh
ci_build.sh
+1
-1
No files found.
builds/android/Dockerfile
View file @
33c5985e
...
...
@@ -18,5 +18,5 @@ ENV TOOLCHAIN_HOST arm-linux-androideabi
ENV
TOOLCHAIN_PATH ${ANDROID_NDK_ROOT}/toolchains/${TOOLCHAIN_NAME}/prebuilt/linux-x86_64/bin
ENV
TOOLCHAIN_ARCH arm
# build libzmq for android
RUN
cd
~
&&
git clone https://github.com/zeromq/libzmq.git
RUN
cd
~
&&
git clone
--depth
1
https://github.com/zeromq/libzmq.git
RUN
cd
~/libzmq/builds/android
&&
./build.sh
builds/android/build.sh
View file @
33c5985e
...
...
@@ -30,7 +30,7 @@ fi
(
android_build_verify_so
"libsodium.so"
&> /dev/null
)
||
{
rm
-rf
"
${
cache
}
/libsodium"
(
cd
"
${
cache
}
"
&&
git clone git://github.com/jedisct1/libsodium.git
)
||
exit
1
(
cd
"
${
cache
}
"
&&
git clone
--depth
1
git://github.com/jedisct1/libsodium.git
)
||
exit
1
(
cd
"
${
cache
}
/libsodium"
&&
./autogen.sh
\
&&
./configure
"
${
ANDROID_BUILD_OPTS
[@]
}
"
--disable-soname-versions
\
&&
make
\
...
...
ci_build.sh
View file @
33c5985e
...
...
@@ -17,7 +17,7 @@ if [ $BUILD_TYPE == "default" ]; then
# Build required projects first
# libsodium
git clone git://github.com/jedisct1/libsodium.git
git clone
--depth
1
git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
# Build and check this project
...
...
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