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
88b0a3e9
Commit
88b0a3e9
authored
Dec 15, 2016
by
peastman
Committed by
GitHub
Dec 15, 2016
Browse files
Merge pull request #1686 from peastman/windows
Automate Windows builds
parents
877c2bfd
3660a63d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
0 deletions
+51
-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
+25
-0
No files found.
devtools/packaging/scripts/windows/Vagrantfile
0 → 100644
View file @
88b0a3e9
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 @
88b0a3e9
mkdir
build
cd
build
set
FFTW
=
C
:\Miniconda3\pkgs\fftw3f
-
3
.3.4
-vc
14
_2\Library
set
APPSDK
=
C
:\Program
Files
(
x86
)
\AMD
APP
SDK
\2.9
-
1
"C:\Program Files\CMake\bin\cmake.exe"
..
-G
"NMake Makefiles JOM"
-DCMAKE
_BUILD_TYPE
=
Release
-DOPENMM
_GENERATE_API_DOCS
=
ON
^
-DOPENCL
_INCLUDE_DIR
=
"
%APPSDK%
\include"
-DOPENCL
_LIBRARY
=
"
%APPSDK%
\lib\x86_64\OpenCL.lib"
^
-DFFTW
_INCLUDES
=
"
%FFTW%
/include"
-DFFTW
_LIBRARY
=
"
%FFTW%
/lib/libfftw3f-3.lib"
jom
jom
PythonInstall
jom
C
+
+ApiDocs
jom
PythonApiDocs
REM jom sphinxpdf
jom
install
jom
PythonBdist
devtools/packaging/scripts/windows/prepare.ps1
0 → 100644
View file @
88b0a3e9
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 AMD APP SDK.
wget
https://s3.amazonaws.com/omnia-ci/AMD-APP-SDK-v2.9-1.599.381-GA-Full-windows-64.exe
-UseBasicParsing
-OutFile
AMD-APP-SDK-v2.9-1.599.381-GA-Full-windows-64.exe
.
\AMD-APP-SDK-v2.9-1.599.381-GA-Full-windows-64.exe
/S
/v/qn
|
Out-Null
# Install Miniconda.
wget
https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe
-UseBasicParsing
-OutFile
Miniconda3-latest-Windows-x86_64.exe
.
\Miniconda3-latest-Windows-x86_64.exe
/S
/D
=
C:\Miniconda3
|
Out-Null
# Install software with conda.
&
"C:\Miniconda3\Scripts\conda.exe"
install
-y
-c
omnia
fftw3f
jinja2
lxml
sphinx
sphinxcontrib-autodoc_doxygen
sphinxcontrib-lunrsearch
conda-build
&
"C:\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