add nuget
This commit is contained in:
Родитель
07bf4f1a3f
Коммит
a703aa8d7c
|
@ -1 +1,2 @@
|
|||
build
|
||||
*.nupkg
|
|
@ -0,0 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>HPCPackLinuxAgent</id>
|
||||
<version>1.0.0</version>
|
||||
<authors>zheyushen</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<!-- <icon>icon.png</icon> -->
|
||||
<description>HPC Pack Linux VM Extension and node agent</description>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="build/hpcnodeagent.tar.gz" target="" />
|
||||
<file src="build/linuxnodeagent2016u1.zip" target="" />
|
||||
</files>
|
||||
</package>
|
|
@ -6,10 +6,14 @@ source /hbb_exe/activate
|
|||
|
||||
set -x
|
||||
|
||||
rpm --import "http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF"
|
||||
yum-config-manager --add-repo http://download.mono-project.com/repo/centos/
|
||||
yum update -y
|
||||
yum install perl-IPC-Cmd kernel-devel -y
|
||||
yum install perl-IPC-Cmd kernel-devel mono-complete -y
|
||||
curl -o /usr/local/bin/nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
|
||||
alias nuget="mono /usr/local/bin/nuget.exe"
|
||||
|
||||
cd /hpcpack-linux-agent/nodemanager
|
||||
../vcpkg/bootstrap-vcpkg.sh
|
||||
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
cmake --build build -- -j`nproc`
|
||||
cmake --build build -- -j`nproc`
|
||||
|
|
Загрузка…
Ссылка в новой задаче