mirror of https://github.com/m-labs/artiq.git
Merge branch 'master' of github.com:m-labs/artiq
This commit is contained in:
commit
13439c62e8
|
@ -0,0 +1,17 @@
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
REM Configure step
|
||||||
|
if "%ARCH%"=="32" (
|
||||||
|
set CMAKE_GENERATOR=Visual Studio 12 2013
|
||||||
|
) else (
|
||||||
|
set CMAKE_GENERATOR=Visual Studio 12 2013 Win64
|
||||||
|
)
|
||||||
|
set CMAKE_GENERATOR_TOOLSET=v120_xp
|
||||||
|
cmake -G "%CMAKE_GENERATOR%" -DCMAKE_INSTALL_PREFIX=%PREFIX% -DOPENSSL_ROOT_DIR=%PREFIX%\Library\ %SRC_DIR%
|
||||||
|
if errorlevel 1 exit 1
|
||||||
|
REM Build step
|
||||||
|
cmake --build .
|
||||||
|
if errorlevel 1 exit 1
|
||||||
|
REM Install step
|
||||||
|
cmake --build . --target install
|
||||||
|
if errorlevel 1 exit 1
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DOPENSSL_ROOT_DIR=$PREFIX
|
||||||
|
make -j2
|
||||||
|
make install
|
|
@ -0,0 +1,23 @@
|
||||||
|
package:
|
||||||
|
name: libssh2
|
||||||
|
version: 1.6.0
|
||||||
|
|
||||||
|
source:
|
||||||
|
git_url: https://github.com/libssh2/libssh2
|
||||||
|
git_tag: libssh2-1.6.0
|
||||||
|
|
||||||
|
build:
|
||||||
|
number: 0
|
||||||
|
|
||||||
|
requirements:
|
||||||
|
build:
|
||||||
|
- system # [linux]
|
||||||
|
- cmake # [linux]
|
||||||
|
- openssl
|
||||||
|
run:
|
||||||
|
- openssl
|
||||||
|
|
||||||
|
about:
|
||||||
|
home: http://www.libssh2.org/
|
||||||
|
license: BSD
|
||||||
|
summary: 'libssh2 is a client-side C library implementing the SSH2 protocol'
|
Loading…
Reference in New Issue