|
3 | 3 | primesieve-java provides a native wrapper to [kimwalisch/primesieve](https://github.com/kimwalisch/primesieve). |
4 | 4 |
|
5 | 5 | ## Prerequisites |
6 | | -primesieve-java is currently built and tested on MacOSX x86_64. |
| 6 | +primesieve-java is currently built and tested on MacOSX and ubuntu x86_64. |
7 | 7 | For the exact dependencies tested and contribute on other platforms, see [Development](#Development). |
8 | 8 |
|
9 | | -primesieve-java requires primesieve to be installed, ex: `brew install primesieve` |
| 9 | +primesieve-java requires primesieve to be installed, for example on MacOSX run: `brew install primesieve` |
10 | 10 |
|
11 | 11 | Check that the libraries and headers are installed: |
12 | | - |
| 12 | +On MacOSX: |
13 | 13 | * `ls /usr/local/include/primesieve*` |
14 | 14 | * Should include primesieve.hpp, primes/StorePrimes.hpp, primes/iterator.hpp |
15 | 15 | * `ls /usr/local/lib/libprimesieve.*` |
16 | 16 | * ex: libprimesieve.a, libprimesieve.dylib |
| 17 | +On ubuntu: |
| 18 | + * `ls /usr/local/include/primesieve*` |
| 19 | + * `ls /usr/lib/libprimesieve.*` |
17 | 20 |
|
18 | 21 | ## Build |
19 | | -primesieve-java must be built locally, ex: |
| 22 | +Ubuntu is built automatically as part of the github workflow, see [.github/workflows/gradle.yml](gradle.yml). |
| 23 | + |
| 24 | +For MacOSX, primesieve-java must be built locally, ex: |
20 | 25 | * `git clone https://github.com/buildingnicesoftware/primesieve-java.git` |
21 | 26 | * `cd primesieve-java` |
22 | 27 |
|
@@ -85,7 +90,7 @@ Note the following: |
85 | 90 | * PrimeStore generating n primes is implemented yet |
86 | 91 | * `primesieve` error conditions and handling mapped to exceptions not implemented yet |
87 | 92 | * A repo distribution is not assembled or published currently but I can develop one of you have need for it |
88 | | -* Currently tested on the following: |
| 93 | +* Currently tested on ubuntu using the github workflow, and MacOSX with the following: |
89 | 94 | * x86_64-apple-darwin24.2.0 (Sequoia 15.2) |
90 | 95 | * primesieve 12.6 |
91 | 96 | * Xcode 16.2 (Build version 16C5032a) |
|
0 commit comments