You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compile/README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,18 +10,18 @@ Minimal C bindings for JetReconstruction.jl
10
10
To build the library, run the following command from the package root directory:
11
11
12
12
```sh
13
-
julia --project=compile compile/build.jl
13
+
julia --project=compile compile/build.jl --output-dir JetReconstructionCompiled
14
14
```
15
15
16
16
> [!NOTE]
17
-
> Since Julia 1.12 `--juliac` can be specified to use the juliac compiler instead of PackageCompiler.
18
-
> Before Julia 1.12, nightlies can be used instead:
17
+
> Since Julia 1.12 `--juliac` can be specified to use the juliac compiler instead of PackageCompiler.
18
+
> Before Julia 1.12, nightlies can be used instead (make sure to instantiate the main JetReconstruction and `compile` projects with the same version of Julia):
19
19
>
20
20
> ```sh
21
21
> julia +nightly --project=compile compile/build.jl --juliac
22
22
>```
23
23
>
24
-
>Packes compiled with `PackageCompiler.jl` will have `JETRECONSTRUCTION_COMPILER_PACKAGECOMPILER` defined. Packages compiled with `juliac` will have `JETRECONSTRUCTION_COMPILER_JULIAC` defined.
24
+
>Packages compiled with `PackageCompiler.jl` will have `JETRECONSTRUCTION_COMPILER_PACKAGECOMPILER` defined. Packages compiled with `juliac` will have `JETRECONSTRUCTION_COMPILER_JULIAC` defined.
25
25
26
26
## Usage example
27
27
@@ -76,7 +76,7 @@ int main(int argc, char *argv[]) {
76
76
To build an example application run the following command:
77
77
78
78
```shell
79
-
cc -o jetreconstruction_test compile/test/jetreconstruction_test.c -IJetReconstructionCompiled/include -LJetReconstructionCompiled/lib -ljetreconstruction -ljulia
79
+
cc -o jetreconstruction_test compile/downstream/jetreconstruction_test.c -IJetReconstructionCompiled/include -LJetReconstructionCompiled/lib -ljetreconstruction
80
80
```
81
81
82
82
In case the compiled library resides in non-standard location, add its location to `LD_LIBRARY_PATH` when running example application:
0 commit comments