|
5 | 5 | { |
6 | 6 | "name": "default", |
7 | 7 | "binaryDir": "build", |
| 8 | + "installDir": "${fileDir}/build/local", |
8 | 9 | "cacheVariables": { |
9 | 10 | "BUILD_SINGLE": false, |
10 | 11 | "BUILD_DOUBLE": true, |
11 | 12 | "BUILD_COMPLEX": false, |
12 | 13 | "BUILD_COMPLEX16": false, |
13 | | - "CMAKE_BUILD_TYPE": "Release" |
| 14 | + "CMAKE_BUILD_TYPE": "Release", |
| 15 | + "MUMPS_parallel": true, |
| 16 | + "MUMPS_scotch": false |
14 | 17 | } |
15 | 18 | }, |
16 | 19 | { |
17 | 20 | "name": "shared", "inherits": "default", |
18 | 21 | "binaryDir": "build-shared", |
| 22 | + "installDir": "${fileDir}/build-shared/local", |
19 | 23 | "cacheVariables": { |
20 | 24 | "BUILD_SHARED_LIBS": true, |
21 | 25 | "MUMPS_ENABLE_RPATH": true |
22 | 26 | } |
23 | 27 | }, |
| 28 | +{ |
| 29 | + "name": "serial", "inherits": "default", |
| 30 | + "binaryDir": "build-serial", |
| 31 | + "installDir": "${fileDir}/build-serial/local", |
| 32 | + "cacheVariables": { |
| 33 | + "MUMPS_parallel": false |
| 34 | + } |
| 35 | +}, |
24 | 36 | { |
25 | 37 | "name": "scotch", "inherits": "default", |
26 | 38 | "binaryDir": "build-scotch", |
| 39 | + "installDir": "${fileDir}/build-scotch/local", |
27 | 40 | "cacheVariables": { |
28 | 41 | "MUMPS_scotch": true |
29 | 42 | } |
30 | 43 | } |
31 | 44 | ], |
32 | 45 | "buildPresets": [ |
33 | | - { "name": "default", "configurePreset": "default", "jobs": 0 }, |
| 46 | + { "name": "default", "configurePreset": "default", "jobs": 4 }, |
34 | 47 | { "name": "shared", "configurePreset": "shared", "inherits": "default" }, |
35 | | - { "name": "scotch", "configurePreset": "scotch", "inherits": "default" } |
| 48 | + { "name": "scotch", "configurePreset": "scotch", "inherits": "default" }, |
| 49 | + { "name": "serial", "configurePreset": "serial", "inherits": "default" } |
36 | 50 | ], |
37 | 51 | "testPresets": [ |
38 | 52 | { |
|
46 | 60 | "noTestsAction": "error", |
47 | 61 | "scheduleRandom": true, |
48 | 62 | "stopOnFailure": false, |
49 | | - "timeout": 60 |
| 63 | + "jobs": 4 |
50 | 64 | } |
51 | 65 | }, |
52 | 66 | { "name": "shared", "configurePreset": "shared", "inherits": "default" }, |
53 | | -{ "name": "scotch", "configurePreset": "scotch", "inherits": "default" } |
| 67 | +{ "name": "scotch", "configurePreset": "scotch", "inherits": "default" }, |
| 68 | +{ "name": "serial", "configurePreset": "serial", "inherits": "default" } |
54 | 69 | ], |
55 | 70 | "workflowPresets": [ |
56 | 71 | { |
|
76 | 91 | { "type": "build", "name": "scotch" }, |
77 | 92 | { "type": "test", "name": "scotch"} |
78 | 93 | ] |
| 94 | + }, |
| 95 | + { |
| 96 | + "name": "serial", |
| 97 | + "steps": [ |
| 98 | + { "type": "configure", "name": "serial" }, |
| 99 | + { "type": "build", "name": "serial" }, |
| 100 | + { "type": "test", "name": "serial"} |
| 101 | + ] |
79 | 102 | } |
80 | 103 | ] |
81 | 104 | } |
0 commit comments