mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 05:50:39 +00:00
Merged native noise packaging
- Probe and build wiring for the optional native noise library
This commit is contained in:
commit
391d5346ae
2 files changed
+8
-1
No files matched your search
@@ -476,6 +476,10 @@ tasks.named('shadowJar', ShadowJar).configure {
|
|||||||
if (providers.gradleProperty('irisRuntimeJava').getOrElse(rootProject.irisModTarget.java.toString()) == '21') {
|
if (providers.gradleProperty('irisRuntimeJava').getOrElse(rootProject.irisModTarget.java.toString()) == '21') {
|
||||||
exclude('art/arcane/volmlib/util/noise/NativeBillowLoader*.class')
|
exclude('art/arcane/volmlib/util/noise/NativeBillowLoader*.class')
|
||||||
exclude('art/arcane/volmlib/util/noise/BillowBatch*.class')
|
exclude('art/arcane/volmlib/util/noise/BillowBatch*.class')
|
||||||
|
exclude('art/arcane/volmlib/util/noise/NativeNoiseLibrary*.class')
|
||||||
|
exclude('art/arcane/volmlib/util/noise/program/NativeNoise*.class')
|
||||||
|
exclude('art/arcane/volmlib/util/noise/program/NativeProgramEncoder*.class')
|
||||||
|
exclude('art/arcane/volmlib/native/**')
|
||||||
}
|
}
|
||||||
// minimize() stays off. Caffeine reaches its 520 generated cache and node classes through
|
// minimize() stays off. Caffeine reaches its 520 generated cache and node classes through
|
||||||
// MethodHandles.Lookup.findClass on a computed name, and the VolmLib command, GUI and hotload
|
// MethodHandles.Lookup.findClass on a computed name, and the VolmLib command, GUI and hotload
|
||||||
|
|||||||
+4
-1
@@ -171,7 +171,10 @@ tasks.register('genProbe', JavaExec) {
|
|||||||
systemProperty('iris.probe.expectedBackend', providers.gradleProperty('probeExpectedBackend').orElse('').get())
|
systemProperty('iris.probe.expectedBackend', providers.gradleProperty('probeExpectedBackend').orElse('').get())
|
||||||
systemProperty('iris.probe.requireNativeSamples', providers.gradleProperty('probeRequireNativeSamples').orElse('false').get())
|
systemProperty('iris.probe.requireNativeSamples', providers.gradleProperty('probeRequireNativeSamples').orElse('false').get())
|
||||||
if (providers.gradleProperty('probeNativeLibrary').isPresent()) {
|
if (providers.gradleProperty('probeNativeLibrary').isPresent()) {
|
||||||
systemProperty('volmlib.noise.nativeBillowLibrary', providers.gradleProperty('probeNativeLibrary').get())
|
systemProperty('volmlib.native.library', providers.gradleProperty('probeNativeLibrary').get())
|
||||||
|
}
|
||||||
|
if (providers.gradleProperty('probeNativePolicy').isPresent()) {
|
||||||
|
systemProperty('volmlib.native', providers.gradleProperty('probeNativePolicy').get())
|
||||||
}
|
}
|
||||||
systemProperty('iris.probe.threads', providers.gradleProperty('probeThreads').orElse('1').get())
|
systemProperty('iris.probe.threads', providers.gradleProperty('probeThreads').orElse('1').get())
|
||||||
systemProperty('iris.probe.pregenProfile', providers.gradleProperty('probePregenProfile').orElse('false').get())
|
systemProperty('iris.probe.pregenProfile', providers.gradleProperty('probePregenProfile').orElse('false').get())
|
||||||
|
|||||||
Reference in new issue
Block a user