File tree Expand file tree Collapse file tree 7 files changed +73
-15
lines changed Expand file tree Collapse file tree 7 files changed +73
-15
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,62 @@ option(
16
16
type: 'boolean',
17
17
description: 'Build the HTML / PDF documentation'
18
18
)
19
+
20
+ #
21
+ # Features
22
+ #
23
+ option(
24
+ 'bliss',
25
+ type: 'feature',
26
+ value: 'auto',
27
+ description: 'Bliss interface to graph isomorphisms'
28
+ )
29
+
30
+ option(
31
+ 'brial',
32
+ type: 'feature',
33
+ value: 'auto',
34
+ description: 'BRiAl interface to polynomials over boolean rings'
35
+ )
36
+
37
+ option(
38
+ 'coxeter3',
39
+ type: 'feature',
40
+ value: 'auto',
41
+ description: 'Coxeter 3.x interface to Coxeter groups'
42
+ )
43
+
44
+ option(
45
+ 'mcqd',
46
+ type: 'feature',
47
+ value: 'auto',
48
+ description: 'MCQD interface to the MaxCliqueDyn algorithm'
49
+ )
50
+
51
+ option(
52
+ 'meataxe',
53
+ type: 'feature',
54
+ value: 'auto',
55
+ description: 'Interface to the MeatAxe program'
56
+ )
57
+
58
+ option(
59
+ 'rankwidth',
60
+ type: 'feature',
61
+ value: 'auto',
62
+ description: 'Interface to librw for rank-width decompositions'
63
+ )
64
+
65
+ option(
66
+ 'sirocco',
67
+ type: 'feature',
68
+ value: 'auto',
69
+ description: 'Sirocco interface to certified root continuation'
70
+ )
71
+
72
+ option(
73
+ 'tdlib',
74
+ type: 'feature',
75
+ value: 'auto',
76
+ description: 'Interface to tdlib for tree decompositions'
77
+ )
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ endif
151
151
# Cannot be found via pkg-config
152
152
mtx = cc.find_library (
153
153
' mtx' ,
154
- required : false ,
154
+ required : get_option ( ' meataxe ' ) ,
155
155
disabler : true ,
156
156
has_headers : [' meataxe.h' ],
157
157
)
Original file line number Diff line number Diff line change 1
- # tdlib is a header-only library
2
- if cc.has_header(' treedec/combinations.hpp' )
1
+ tdlib = disabler ()
2
+ if cc.has_header(' treedec/combinations.hpp' , required : get_option (' tdlib' ))
3
+ # tdlib is a header-only library
3
4
tdlib = declare_dependency ()
4
- else
5
- tdlib = disabler ()
6
5
endif
7
6
# Cannot be found via pkg-config
8
- rw = cc.find_library (' rw' , required : false , disabler : true )
7
+ rw = cc.find_library (' rw' , required : get_option ( ' rankwidth ' ) , disabler : true )
9
8
10
9
py.install_sources(
11
10
' __init__.py' ,
Original file line number Diff line number Diff line change 1
- bliss = cc.find_library (' bliss' , required : false , disabler : true )
2
- # mcqd is a header-only library
3
- if cc.has_header(' mcqd.h' )
1
+ bliss = cc.find_library (' bliss' , required : get_option (' bliss' ), disabler : true )
2
+
3
+ mcqd = disabler ()
4
+ if cc.has_header(' mcqd.h' , required : get_option (' mcqd' ))
5
+ # mcqd is a header-only library
4
6
mcqd = declare_dependency ()
5
- else
6
- mcqd = disabler ()
7
7
endif
8
8
cliquer = cc.find_library (' cliquer' , required : not is_windows, disabler : true )
9
9
Original file line number Diff line number Diff line change 1
- coxeter3 = cc.find_library (' coxeter3' , required : false , disabler : true )
1
+ coxeter3 = cc.find_library (' coxeter3' , required : get_option ( ' coxeter3 ' ) , disabler : true )
2
2
py.install_sources(
3
3
' __init__.py' ,
4
4
' all__sagemath_coxeter3.py' ,
Original file line number Diff line number Diff line change 1
- sirocco = cc.find_library (' sirocco' , required : false , disabler : true )
1
+ sirocco = cc.find_library (' sirocco' , required : get_option ( ' sirocco ' ) , disabler : true )
2
2
# cannot be found via pkg-config
3
3
ecl = cc.find_library (' ecl' , required : false , disabler : true )
4
4
if not ecl.found() and not is_windows
Original file line number Diff line number Diff line change 1
- brial = cc.find_library (' brial' , required : false , disabler : true )
1
+ brial = cc.find_library (' brial' , required : get_option ( ' brial ' ) , disabler : true )
2
2
# Cannot be found via pkg-config
3
3
brial_groebner = cc.find_library (
4
4
' brial_groebner' ,
5
- required : false ,
5
+ required : get_option ( ' brial ' ) ,
6
6
disabler : true ,
7
7
)
8
8
You can’t perform that action at this time.
0 commit comments