Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
4e6063d8
Commit
4e6063d8
authored
Dec 07, 2016
by
peastman
Browse files
Initial scripts for automating Windows builds
parent
bb2d463c
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
0 deletions
+46
-0
devtools/packaging/scripts/windows/Vagrantfile
devtools/packaging/scripts/windows/Vagrantfile
+10
-0
devtools/packaging/scripts/windows/build.bat
devtools/packaging/scripts/windows/build.bat
+16
-0
devtools/packaging/scripts/windows/prepare.ps1
devtools/packaging/scripts/windows/prepare.ps1
+20
-0
No files found.
devtools/packaging/scripts/windows/Vagrantfile
0 → 100644
View file @
4e6063d8
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
"gusztavvargadr/windows10ee"
config
.
vm
.
provision
:shell
,
path:
"prepare.ps1"
config
.
vm
.
provider
:virtualbox
do
|
vb
|
vb
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
"2048"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
"2"
]
vb
.
customize
[
"modifyvm"
,
:id
,
"--ioapic"
,
"on"
]
end
end
devtools/packaging/scripts/windows/build.bat
0 → 100644
View file @
4e6063d8
REM "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
cd
openmm
mkdir
build
cd
build
set
FFTW
=
C
:\Program
Files
\Miniconda3\pkgs\fftw3f
-
3
.3.4
-vc
14
_2\Library
"C:\Program Files\CMake\bin\cmake.exe"
..
-G
"NMake Makefiles JOM"
-DCMAKE
_BUILD_TYPE
=
Release
-DOPENMM
_GENERATE_API_DOCS
=
ON
-DFFTW
_INCLUDES
=
"
%FFTW%
/include"
-DFFTW
_LIBRARY
=
"
%FFTW%
/lib/libfftw3f-3.lib"
jom
jom
PythonInstall
jom
C
+
+ApiDocs
jom
PythonApiDocs
#
jom
sphinxpdf
jom
install
jom
PythonBdist
devtools/packaging/scripts/windows/prepare.ps1
0 → 100644
View file @
4e6063d8
cd
C:\Users\vagrant
# Install everything we can with choco.
choco
install
-y
doxygen.portable
swig
cmake
doxygen.install
vcbuildtools
git
jom
# Install CUDA.
wget
https://developer.nvidia.com/compute/cuda/8.0/prod/network_installers/cuda_8.0.44_win10_network-exe
-UseBasicParsing
-OutFile
cuda_8.0.44_win10_network.exe
.
\cuda_8.0.44_win10_network.exe
-s
compiler_8.0
cudart_8.0
cufft_8.0
cufft_dev_8.0
nvrtc_8.0
nvrtc_dev_8.0
|
Out-Null
# Install Miniconda.
wget
https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe
-UseBasicParsing
-OutFile
Miniconda3-latest-Windows-x86_64.exe
Start-Process
-Wait
-FilePath
Miniconda3-latest-Windows-x86_64.exe
-ArgumentList
'/S'
# Install software with conda.
&
"C:\Program Files\Miniconda3\Scripts\conda.exe"
install
-y
-c
omnia
fftw3f
jinja2
lxml
sphinx
sphinxcontrib-autodoc_doxygen
sphinxcontrib-lunrsearch
&
"C:\Program Files\Miniconda3\Scripts\pip.exe"
install
sphinxcontrib.bibtex
\ No newline at end of file
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