Skip to content

Commit 822ec72

Browse files
committed
+ Adding ubuntu
1 parent c32682a commit 822ec72

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,25 @@
33
primesieve-java provides a native wrapper to [kimwalisch/primesieve](https://github.com/kimwalisch/primesieve).
44

55
## 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.
77
For the exact dependencies tested and contribute on other platforms, see [Development](#Development).
88

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`
1010

1111
Check that the libraries and headers are installed:
12-
12+
On MacOSX:
1313
* `ls /usr/local/include/primesieve*`
1414
* Should include primesieve.hpp, primes/StorePrimes.hpp, primes/iterator.hpp
1515
* `ls /usr/local/lib/libprimesieve.*`
1616
* ex: libprimesieve.a, libprimesieve.dylib
17+
On ubuntu:
18+
* `ls /usr/local/include/primesieve*`
19+
* `ls /usr/lib/libprimesieve.*`
1720

1821
## 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:
2025
* `git clone https://github.com/buildingnicesoftware/primesieve-java.git`
2126
* `cd primesieve-java`
2227

@@ -85,7 +90,7 @@ Note the following:
8590
* PrimeStore generating n primes is implemented yet
8691
* `primesieve` error conditions and handling mapped to exceptions not implemented yet
8792
* 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:
8994
* x86_64-apple-darwin24.2.0 (Sequoia 15.2)
9095
* primesieve 12.6
9196
* Xcode 16.2 (Build version 16C5032a)

0 commit comments

Comments
 (0)