Skip to content

Commit

Permalink
refactor java
Browse files Browse the repository at this point in the history
  • Loading branch information
azahnen committed Oct 12, 2024
1 parent 800c586 commit a7b3af0
Show file tree
Hide file tree
Showing 45 changed files with 2 additions and 126 deletions.
4 changes: 2 additions & 2 deletions xtracfg/build.gradle → libxtracfg/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ graalvmNative {
if (project.hasProperty('LIB')) {
imageName = "libxtracfgjni"
sharedLibrary = true
buildArgs("--native-compiler-path=${project.projectDir}/../libxtracfg/c/native-image/static-compiler-${targetos}.sh")
buildArgs("--native-compiler-path=${project.projectDir}/../c/native-image/static-compiler-${targetos}.sh")
buildArgs('-march=native')
buildArgs('-O2') //TODO -O3 image is 50% larger than -O2, test -Os with JDK 23
//buildArgs('--pgo') see https://www.graalvm.org/latest/reference-manual/native-image/optimizations-and-performance/PGO/
Expand Down Expand Up @@ -101,7 +101,7 @@ graalvmNative {

tasks.register('nativeSync', Sync) {
from "${project.buildDir}/native/nativeCompile"
into '../libxtracfg/c/build'
into '../c/build'
}

tasks.register('os') {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 0 additions & 12 deletions xtracfg/include/client.h

This file was deleted.

21 changes: 0 additions & 21 deletions xtracfg/include/de_ii_xtraplatform_cli_Cli.h

This file was deleted.

91 changes: 0 additions & 91 deletions xtracfg/include/libxtracfg.h

This file was deleted.

0 comments on commit a7b3af0

Please sign in to comment.