File tree Expand file tree Collapse file tree 2 files changed +7
-14
lines changed
rapidyaml/src/main/java/org/rapidyaml Expand file tree Collapse file tree 2 files changed +7
-14
lines changed Original file line number Diff line number Diff line change @@ -6,24 +6,17 @@ NATIVE_OPTS := \
6
6
--initialize-at-build-time \
7
7
--enable-preview \
8
8
--enable-url-protocols=https \
9
+ --emit=build-report \
9
10
-march=compatibility \
11
+ -H:IncludeResources=SCI_VERSION \
12
+ -H:IncludeResources='librapidyaml\.0\.8\.0\.so' \
10
13
-H:ReflectionConfigurationFiles=reflection.json \
11
14
-H:+ReportExceptionStackTraces \
12
- -H:IncludeResources=SCI_VERSION \
13
15
-H:Log=registerResource: \
14
16
-J-Dclojure.spec.skip-macros=true \
15
17
-J-Dclojure.compiler.direct-linking=true \
16
18
-J-Xmx3g \
17
19
18
- ifdef YS_NATIVE_INCLUDE_LIBRAPIDYAML
19
- NATIVE_OPTS += \
20
- -H:IncludeResources=".*librapidyaml\.0\.8\.0\.so"
21
- endif
22
-
23
- ifdef YS_NATIVE_BUILD_REPORT
24
- NATIVE_OPTS += --emit build-report
25
- endif
26
-
27
20
export MUSL_HOME := $(YS_TMP ) /musl
28
21
export PATH := $(MUSL_HOME ) /bin:$(PATH )
29
22
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class NativeLibLoader {
11
11
public static void loadLibraryFromResource (String libraryName )
12
12
throws IOException
13
13
{
14
- System .out .println ("libraryName: " + libraryName );
14
+ // System.out.println("libraryName: " + libraryName);
15
15
ClassLoader classLoader =
16
16
Thread .currentThread ().getContextClassLoader ();
17
17
@@ -23,12 +23,12 @@ public static void loadLibraryFromResource(String libraryName)
23
23
"Failed to load library resource '" +
24
24
libraryName + "' from NativeLibLoader" );
25
25
26
- System .out .println ("inputStream: " + inputStream );
26
+ // System.out.println("inputStream: " + inputStream);
27
27
28
28
File tempDir = createTempDir ();
29
29
// tempDir.deleteOnExit();
30
30
File tempFile = new File (tempDir , libraryName );
31
- System .out .println ("tempFile: " + tempFile );
31
+ // System.out.println("tempFile: " + tempFile);
32
32
33
33
Files .copy (
34
34
inputStream ,
@@ -44,7 +44,7 @@ public static void loadLibraryFromResource(String libraryName)
44
44
// tempFile.delete();
45
45
}
46
46
47
- System .out .println ("Loaded library from temp file" );
47
+ // System.out.println("Loaded library from temp file");
48
48
}
49
49
50
50
private static File createTempDir () throws IOException {
You can’t perform that action at this time.
0 commit comments