diff options
Diffstat (limited to 'TODO/build-options.md')
| -rw-r--r-- | TODO/build-options.md | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/TODO/build-options.md b/TODO/build-options.md deleted file mode 100644 index 83b8a34..0000000 --- a/TODO/build-options.md +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | # Build options for memory and multithreading | ||
| 2 | |||
| 3 | ## Investigate | ||
| 4 | |||
| 5 | * Check exactly how much memory is needed for everything. | ||
| 6 | * Take note of which parts use threading (solving, genptable, other?). | ||
| 7 | |||
| 8 | ## Prepare code | ||
| 9 | |||
| 10 | * Use define / ifdef or similar to compile and build tables only for the | ||
| 11 | parts to be used. | ||
| 12 | * If threads = 1, use a much simpler version of the solve method. Remember | ||
| 13 | that checking if enough solutions have been found is the first thing to | ||
| 14 | do in singlethread (no locking). | ||
| 15 | * Do not include pthread if threads = 1. | ||
| 16 | * Only one optimal solver should be compiled. | ||
| 17 | * Some simple steps may also need alternatives with smaller tables | ||
| 18 | (e.g. for staying sub 1Gb). For example dr and drfin. | ||
| 19 | * If necessary, work out alternatives to "twophase" for low-resource versions. | ||
| 20 | |||
| 21 | ## Makefile | ||
| 22 | |||
| 23 | * Figure out how to change these options via makefile. For example: one | ||
| 24 | variable for the maximum allowed ram and one for the number of threads. | ||
| 25 | * (Optional) use a configure script? | ||
| 26 | * (Optional) interactive installation script? | ||
| 27 | |||
| 28 | ## Automate | ||
| 29 | |||
| 30 | * Scout for resources during installation and choose best configuration | ||
| 31 | automatically. | ||
| 32 | * How to do this in Linux / POSIX? | ||
| 33 | * How to do this in Windows? | ||
