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
6160da5d
Unverified
Commit
6160da5d
authored
Apr 30, 2018
by
Simon Giesecke
Committed by
GitHub
Apr 30, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3068 from bluca/appveyor_cache
More attempts to speed up Appveyor
parents
5210fa4e
578c255f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
15 deletions
+22
-15
CMakeLists.txt
CMakeLists.txt
+1
-0
appveyor.yml
appveyor.yml
+21
-15
No files found.
CMakeLists.txt
View file @
6160da5d
...
...
@@ -494,6 +494,7 @@ endif ()
if
(
MSVC
)
# Parallel make.
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/MP"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
/MP"
)
# Compile the static lib with debug information included
string
(
REGEX REPLACE
"/Z."
"/Z7"
CMAKE_CXX_FLAGS_DEBUG
"
${
CMAKE_CXX_FLAGS_DEBUG
}
"
)
...
...
appveyor.yml
View file @
6160da5d
...
...
@@ -4,12 +4,12 @@ shallow_clone: true
skip_tags
:
true
os
:
Visual Studio 201
5
os
:
Visual Studio 201
3
environment
:
CMAKE_GENERATOR
:
"
Visual
Studio
1
4
2015
"
MSVCVERSION
:
"
v1
4
0"
MSVCYEAR
:
"
vs201
5
"
CMAKE_GENERATOR
:
"
Visual
Studio
1
2
2013
"
MSVCVERSION
:
"
v1
2
0"
MSVCYEAR
:
"
vs201
3
"
matrix
:
-
platform
:
Win32
configuration
:
Release
...
...
@@ -20,10 +20,6 @@ environment:
POLLER
:
poll
WITH_LIBSODIUM
:
ON
ENABLE_CURVE
:
ON
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 2017
CMAKE_GENERATOR
:
"
Visual
Studio
15
2017"
MSVCVERSION
:
"
v141"
MSVCYEAR
:
"
vs2017"
-
platform
:
Win32
configuration
:
Debug
WITH_LIBSODIUM
:
ON
...
...
@@ -48,10 +44,10 @@ environment:
configuration
:
Release
WITH_LIBSODIUM
:
ON
ENABLE_CURVE
:
ON
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 201
3
CMAKE_GENERATOR
:
"
Visual
Studio
1
2
2013
"
MSVCVERSION
:
"
v1
2
0"
MSVCYEAR
:
"
vs201
3
"
APPVEYOR_BUILD_WORKER_IMAGE
:
Visual Studio 201
5
CMAKE_GENERATOR
:
"
Visual
Studio
1
4
2015
"
MSVCVERSION
:
"
v1
4
0"
MSVCYEAR
:
"
vs201
5
"
-
platform
:
Win32
configuration
:
Release
WITH_LIBSODIUM
:
ON
...
...
@@ -70,16 +66,26 @@ init:
-
msbuild /version
-
cmd
:
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v UserAuthentication /t REG_DWORD /d 0 /f
cache
:
-
C:\projects\libsodium
install
:
-
cmd
:
if "%Platform%"=="x64" set "CMAKE_GENERATOR=%CMAKE_GENERATOR% Win64"
-
cmd
:
echo "Generator='%CMAKE_GENERATOR%'"
-
cmd
:
echo "Platform='%Platform%'"
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" set LIBSODIUMDIR=C:\projects\libsodium
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" git clone --branch stable --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR%
-
if "%WITH_LIBSODIUM%"=="ON" (
if not exist "%LIBSODIUMDIR%" (
git clone --branch stable --depth 1 --quiet "https://github.com/jedisct1/libsodium.git" %LIBSODIUMDIR%
) else (
cd "%LIBSODIUMDIR%" &&
git pull
)
)
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" msbuild /v:minimal /maxcpucount:%NUMBER_OF_PROCESSORS% /p:Configuration=%Configuration%DLL %LIBSODIUMDIR%\builds\msvc\%MSVCYEAR%\libsodium\libsodium.vcxproj
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" set SODIUM_LIBRARY_DIR="%LIBSODIUMDIR%\bin\%Platform%\%Configuration%\%MSVCVERSION%\dynamic"
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" set SODIUM_INCLUDE_DIR="%LIBSODIUMDIR%\src\libsodium\include"
-
cmd
:
if "%WITH_LIBSODIUM%"=="ON" move "%SODIUM_LIBRARY_DIR%\libsodium.lib" "%SODIUM_LIBRARY_DIR%\sodium.lib"
-
ps
:
if (${env:WITH_LIBSODIUM} -eq "ON") { Copy-Item "C:\projects\libsodium\bin\${env:Platform}\${env:Configuration}\${env:MSVCVERSION}\dynamic\libsodium.lib" -Destination "C:\projects\libsodium\bin\${env:Platform}\${env:Configuration}\${env:MSVCVERSION}\dynamic\sodium.lib" }
clone_folder
:
C:\projects\libzmq
...
...
@@ -102,5 +108,5 @@ after_build:
test_script
:
-
cmd
:
cd "%LIBZMQ_BUILDDIR%"
-
cmd
:
ctest -C "%Configuration%" -V
-
cmd
:
ctest -C "%Configuration%" -V
-j5
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