Skip to content

Commit 256f1e4

Browse files
author
szebos
committed
update recipe
1 parent cba08db commit 256f1e4

File tree

3 files changed

+55
-11
lines changed

3 files changed

+55
-11
lines changed

gbs-io/tojson.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
#include <gbs/surfaces>
88
#include <fstream>
99

10+
#include <boost/uuid/uuid.hpp>
11+
#include <boost/uuid/uuid_generators.hpp>
12+
#include <boost/uuid/uuid_io.hpp>
13+
1014
namespace gbs
1115
{
1216

@@ -25,6 +29,13 @@ namespace gbs
2529
Curve2dOffset = 138,
2630
CurveOnSurface = 142
2731
};
32+
33+
34+
inline std::string generateUUID() {
35+
boost::uuids::random_generator generator;
36+
boost::uuids::uuid uuid = generator();
37+
return boost::uuids::to_string(uuid);
38+
}
2839

2940
auto make_json(const auto &v_begin, const auto &v_end, auto &allocator) -> rapidjson::Value
3041
{

recipe/conda_build_config.yaml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,40 @@
11
python:
2-
- 3.8
2+
# - 3.8
3+
# - 3.9
4+
- 3.10
5+
- 3.11
6+
- 3.12
7+
- 3.13
8+
- 3.14
9+
- 3.9
10+
- 3.10
11+
- 3.11
12+
- 3.12
13+
- 3.13
314
- 3.9
415
- 3.10
516
- 3.11
617
- 3.12
7-
# - 3.13
18+
- 3.13
819
c_compiler: # [win]
920
- vs2022 # [win]
1021
cxx_compiler: # [win]
11-
- vs2022 # [win]
22+
- vs2022 # [win]
23+
vtk_version:
24+
- 9.5
25+
- 9.5
26+
- 9.5
27+
- 9.5
28+
- 9.5
29+
- 9.4
30+
- 9.4
31+
- 9.4
32+
- 9.4
33+
- 9.4
34+
- 9.3
35+
- 9.3
36+
- 9.3
37+
- 9.3
38+
- 9.3
39+
zip_keys:
40+
- [python, vtk_version]

recipe/recipe.yaml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
context:
3-
version: 0.4.2
4-
vtk_version: 9.3
3+
version: 0.4.3
4+
# vtk_version: 9.5
55

66
package:
77
name: gbs
@@ -18,7 +18,7 @@ extra:
1818
- url: ssg-aero
1919

2020
build:
21-
number: 1
21+
number: 0
2222

2323
requirements:
2424
build:
@@ -35,15 +35,18 @@ requirements:
3535
- vtk =${{ vtk_version }}
3636
- ${{"qt" if unix}} # qt is needed for vtk rendering
3737
- eigen >=3.3.9 # turns c+20 warning off
38-
- boost
38+
# - boost
39+
- libboost
40+
- libboost-devel
3941
- rapidjson
4042
- tbb
4143
- tbb-devel
4244
- libiges
4345
run:
4446
- python
4547
- nlopt
46-
- vtk >=9.2
48+
- vtk =${{ vtk_version }}
49+
- libboost
4750
- rapidjson
4851
- libiges
4952
- jupyterlab
@@ -53,6 +56,7 @@ requirements:
5356
about:
5457
homepage: http://www.ssg-aero.com
5558
# license: LGPL3
56-
# test:
57-
# imports:
58-
# - pygbs.gbs
59+
tests:
60+
- python:
61+
imports:
62+
- pygbs.gbs

0 commit comments

Comments
 (0)