Skip to content

Commit 401f743

Browse files
authored
Merge pull request #15 from adament/build_on_win
Build on Windows
2 parents 93148f9 + 05e8bd7 commit 401f743

12 files changed

Lines changed: 279 additions & 66 deletions

.azure-pipelines/azure-pipelines-win.yml

Lines changed: 101 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
boost_cpp:
2+
- 1.78.0
3+
c_compiler:
4+
- vs2019
5+
channel_sources:
6+
- conda-forge
7+
channel_targets:
8+
- conda-forge main
9+
cxx_compiler:
10+
- vs2019
11+
pin_run_as_build:
12+
boost-cpp:
13+
max_pin: x.x.x
14+
python:
15+
min_pin: x.x
16+
max_pin: x.x
17+
python:
18+
- 3.10.* *_cpython
19+
target_platform:
20+
- win-64
21+
vc:
22+
- '14'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
boost_cpp:
2+
- 1.78.0
3+
c_compiler:
4+
- vs2019
5+
channel_sources:
6+
- conda-forge
7+
channel_targets:
8+
- conda-forge main
9+
cxx_compiler:
10+
- vs2019
11+
pin_run_as_build:
12+
boost-cpp:
13+
max_pin: x.x.x
14+
python:
15+
min_pin: x.x
16+
max_pin: x.x
17+
python:
18+
- 3.11.* *_cpython
19+
target_platform:
20+
- win-64
21+
vc:
22+
- '14'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
boost_cpp:
2+
- 1.78.0
3+
c_compiler:
4+
- vs2019
5+
channel_sources:
6+
- conda-forge
7+
channel_targets:
8+
- conda-forge main
9+
cxx_compiler:
10+
- vs2019
11+
pin_run_as_build:
12+
boost-cpp:
13+
max_pin: x.x.x
14+
python:
15+
min_pin: x.x
16+
max_pin: x.x
17+
python:
18+
- 3.8.* *_73_pypy
19+
target_platform:
20+
- win-64
21+
vc:
22+
- '14'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
boost_cpp:
2+
- 1.78.0
3+
c_compiler:
4+
- vs2019
5+
channel_sources:
6+
- conda-forge
7+
channel_targets:
8+
- conda-forge main
9+
cxx_compiler:
10+
- vs2019
11+
pin_run_as_build:
12+
boost-cpp:
13+
max_pin: x.x.x
14+
python:
15+
min_pin: x.x
16+
max_pin: x.x
17+
python:
18+
- 3.8.* *_cpython
19+
target_platform:
20+
- win-64
21+
vc:
22+
- '14'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
boost_cpp:
2+
- 1.78.0
3+
c_compiler:
4+
- vs2019
5+
channel_sources:
6+
- conda-forge
7+
channel_targets:
8+
- conda-forge main
9+
cxx_compiler:
10+
- vs2019
11+
pin_run_as_build:
12+
boost-cpp:
13+
max_pin: x.x.x
14+
python:
15+
min_pin: x.x
16+
max_pin: x.x
17+
python:
18+
- 3.9.* *_73_pypy
19+
target_platform:
20+
- win-64
21+
vc:
22+
- '14'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
boost_cpp:
2+
- 1.78.0
3+
c_compiler:
4+
- vs2019
5+
channel_sources:
6+
- conda-forge
7+
channel_targets:
8+
- conda-forge main
9+
cxx_compiler:
10+
- vs2019
11+
pin_run_as_build:
12+
boost-cpp:
13+
max_pin: x.x.x
14+
python:
15+
min_pin: x.x
16+
max_pin: x.x
17+
python:
18+
- 3.9.* *_cpython
19+
target_platform:
20+
- win-64
21+
vc:
22+
- '14'

README.md

Lines changed: 42 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azure-pipelines.yml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/bld.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
1-
2-
set QL_DIR=C:\Miniconda\
3-
4-
echo "Overwriting quantlib.hpp"
5-
copy /y %RECIPE_DIR%\quantlib.hpp %PREFIX%\Library\include\ql\quantlib.hpp
6-
71
cd Python
2+
python setup.py wrap
83
python setup.py build
94
python setup.py test
105
python setup.py install

0 commit comments

Comments
 (0)