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
ef88b8c7
Commit
ef88b8c7
authored
Dec 27, 2016
by
Constantin Rack
Committed by
GitHub
Dec 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2276 from bluca/sodium_pkg
parents
b2a2bb86
bbae5d0f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
40 deletions
+8
-40
ci_build.sh
builds/cmake/ci_build.sh
+2
-10
ci_build.sh
builds/coverage/ci_build.sh
+2
-10
ci_build.sh
builds/valgrind/ci_build.sh
+2
-10
ci_build.sh
ci_build.sh
+2
-10
No files found.
builds/cmake/ci_build.sh
View file @
ef88b8c7
...
...
@@ -23,16 +23,8 @@ if [ -z $CURVE ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CMAKE_OPTS+
=(
"-DWITH_LIBSODIUM=ON"
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
if
!
((
command
-v
dpkg-query
>
/dev/null 2>&1
&&
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
)
||
\
(
command
-v
brew
>
/dev/null 2>&1
&&
brew
ls
--versions
libsodium
>
/dev/null 2>&1
))
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
...
...
builds/coverage/ci_build.sh
View file @
ef88b8c7
...
...
@@ -19,16 +19,8 @@ if [ -z $CURVE ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CMAKE_OPTS+
=(
"-DWITH_LIBSODIUM=ON"
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
if
!
((
command
-v
dpkg-query
>
/dev/null 2>&1
&&
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
)
||
\
(
command
-v
brew
>
/dev/null 2>&1
&&
brew
ls
--versions
libsodium
>
/dev/null 2>&1
))
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
...
...
builds/valgrind/ci_build.sh
View file @
ef88b8c7
...
...
@@ -19,16 +19,8 @@ if [ -z $CURVE ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CONFIG_OPTS+
=(
"--with-libsodium=yes"
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
if
!
((
command
-v
dpkg-query
>
/dev/null 2>&1
&&
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
)
||
\
(
command
-v
brew
>
/dev/null 2>&1
&&
brew
ls
--versions
libsodium
>
/dev/null 2>&1
))
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
...
...
ci_build.sh
View file @
ef88b8c7
...
...
@@ -20,16 +20,8 @@ if [ $BUILD_TYPE == "default" ]; then
elif
[
$CURVE
==
"libsodium"
]
;
then
CONFIG_OPTS+
=(
"--with-libsodium=yes"
)
if
command
-v
dpkg-query
>
/dev/null 2>&1
;
then
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
elif
command
-v
brew
>
/dev/null 2>&1
;
then
brew
ls
--versions
libsodium
>
/dev/null 2>&1
HAVE_SODIUM
=
$?
else
HAVE_SODIUM
=
1
fi
if
[
$HAVE_SODIUM
-ne
0
]
;
then
if
!
((
command
-v
dpkg-query
>
/dev/null 2>&1
&&
dpkg-query
--list
libsodium-dev
>
/dev/null 2>&1
)
||
\
(
command
-v
brew
>
/dev/null 2>&1
&&
brew
ls
--versions
libsodium
>
/dev/null 2>&1
))
;
then
git clone
--depth
1
-b
stable git://github.com/jedisct1/libsodium.git
(
cd
libsodium
;
./autogen.sh
;
./configure
--prefix
=
$BUILD_PREFIX
;
make check
;
make
install
)
fi
...
...
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