Commit Graph

143 Commits

Author SHA1 Message Date
ChrisHegarty 964dbe334a Add next minor version 9.10.0 2023-11-29 13:44:21 +00:00
Uwe Schindler c367ee3ea1 Only enable support for tests.profile if jdk.jfr module is available in Gradle runtime (#12845) 2023-11-25 20:19:02 +01:00
Dawid Weiss 4533dcea4e GITHUB#12655: upgrade jacoco aggregation plugin (failed with gradle 8.x), change html output property. 2023-10-12 20:44:50 +02:00
Kevin Risden d1f73214a3
GITHUB#12655: Upgrade to Gradle 8.4
See https://github.com/apache/lucene/pull/12650 for details

Closes GITHUB#12655
2023-10-11 16:20:11 -04:00
Uwe Schindler bab1926019 Upgrade forbiddenapis to 3.6 and ASM for APIJAR extraction to 9.6 (#12612) 2023-10-01 16:30:48 +02:00
Patrick Zhai b3e67403aa Add next minor version 9.9.0 2023-09-19 22:48:41 -07:00
Adrien Grand 47774b88f5 Add next minor version 9.8.0 2023-06-16 13:33:32 +02:00
Chris Hegarty 0b53670411
[Backport] Integrate the Incubating Panama Vector API #12311 (#12327)
Leverage accelerated vector hardware instructions in Vector Search.

Lucene already has a mechanism that enables the use of non-final JDK APIs, currently used for the Previewing Pamana Foreign API. This change expands this mechanism to include the Incubating Pamana Vector API. When the jdk.incubator.vector module is present at run time the Panamaized version of the low-level primitives used by Vector Search is enabled. If not present, the default scalar version of these low-level primitives is used (as it was previously).

Currently, we're only targeting support for JDK 20. A subsequent PR should evaluate JDK 21.
---------

Co-authored-by: Uwe Schindler <uschindler@apache.org>
Co-authored-by: Robert Muir <rmuir@apache.org>
2023-05-25 17:53:23 +01:00
Alan Woodward eb31c4ef27 Add next minor version 9.7.0 2023-04-26 16:38:53 +01:00
Uwe Schindler 04bac82cc6 Upgrade forbiddenapis to version 3.5 (#12215)
Upgrade forbiddenapis to version 3.5.  This tones down some verbose warnings printed while checking Java 19 and Java 20 sourcesets for the MR-JAR
2023-03-27 13:31:25 +02:00
Uwe Schindler ec41521ddb Implement MMapDirectory with Java 20 Project Panama Preview API (#12188) 2023-03-09 21:29:18 +01:00
Luca Cavanna 38f0dec9c0 Add next minor version 9.6.0 2023-01-25 12:06:41 +01:00
Uwe Schindler edc4ff6e64 Patch class files for Java 19 code to no longer have the "preview" flag (this enables Java 19 memory segments by default) (#12033) 2022-12-26 10:09:05 +01:00
Dawid Weiss 533470d9eb Implement source code regeneration for test-framework perl scripts (#11952) 2022-11-19 23:41:49 +01:00
Robert Muir f2a4550b37
reland: 11925 javac options (#11937)
* pass jvm args to javac  #11925

* Update net.ltgt.errorprone to the latest version so that jvm args are not overwritten, add -XX:+PrintFlagsFinal for debugging

* speed up the pure javac case too

It does not help to fork additional VMs (although error-prone will do
this since it messes with bootstrap classpath), so we avoid forking.

Instead it is best to tune org.gradle.jvmargs.

* use the flags consistently everywhere (tests and doc)

* handle the different possible alt toolchain cases

The difference is invoking 'java' versus invoking 'javac', so the args must be fed differently.

Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
2022-11-15 19:39:23 -05:00
Robert Muir 7d4b86ef50
Revert "speed up javac and error-prone tasks by using less resources (#11927)"
This reverts commit c7721ac1da.
2022-11-15 18:19:59 -05:00
Dawid Weiss c7721ac1da
speed up javac and error-prone tasks by using less resources (#11927)
* pass jvm args to javac  #11925
* Update net.ltgt.errorprone to the latest version so that jvm args are not overwritten, add -XX:+PrintFlagsFinal for debugging
* speed up the pure javac case too

It does not help to fork additional VMs (although error-prone will do
this since it messes with bootstrap classpath), so we avoid forking.

Instead it is best to tune org.gradle.jvmargs.

* use the flags consistently everywhere (tests and doc)

Co-authored-by: Robert Muir <rmuir@apache.org>
2022-11-15 16:08:10 -05:00
Robert Muir a285141b1e
make 'gradle coverage' print test coverage summaries. (#11837)
Currently, this task is too silent and just writes HTML reports. It is a
nice improvement to print the summary to the console.

Before:

```
> Task :lucene:analysis:icu:jacocoTestReport
Code coverage report at: /home/rmuir/workspace/lucene/lucene/analysis/icu/build/reports/jacoco/test/html.
```

After:

```
> Task :lucene:analysis:icu:jacocoTestReport
Code coverage report at: /home/rmuir/workspace/lucene/lucene/analysis/icu/build/reports/jacoco/test/html.

> Task :lucene:analysis:icu:jacocoLogTestCoverage
Test Coverage:
    - Class Coverage: 100%
    - Method Coverage: 87.9%
    - Branch Coverage: 82.7%
    - Line Coverage: 92.8%
    - Instruction Coverage: 92.7%
    - Complexity Coverage: 78.8%
```
2022-10-05 21:47:09 -04:00
Uwe Schindler 90bc32a882 Upgrade forbiddenapis to 3.4 (#11834) 2022-10-02 16:44:27 +02:00
Dawid Weiss 8ccb59eb03
Upgrade several build dependencies and regenerate sources (#11812) (#11816) 2022-09-25 17:58:55 +02:00
Dawid Weiss 1ea4356256 GH-11172: remove WindowsDirectory and native subproject. (#11774) 2022-09-15 16:23:57 +02:00
Michael Sokolov 9cc7a2f0c5 Add next minor version 9.5.0 2022-09-02 12:11:09 -04:00
iverase 23c9d94a67 Add next minor version 9.4.0 2022-07-20 10:02:48 +02:00
Michael Sokolov 5cd6eda8ca CHANGES entry for LUCENE-10151 2022-07-15 17:11:18 +00:00
Deepika0510 aa082b46f6 LUCENE-10151: Adding Timeout Support to IndexSearcher (#927)
Authored-by: Deepika Sharma <dpshrma@amazon.com>
2022-07-15 17:10:21 +00:00
Alan Woodward c3c475cacb Add next minor version 9.3.0 2022-05-16 14:38:20 +01:00
Uwe Schindler cad74989a5 Upgrade to forbiddenapis 3.3 (#768) 2022-03-26 17:11:11 +01:00
Julie Tibshirani 5cdb32eb19 Add next minor version 9.2.0 2022-03-08 13:28:19 -08:00
Uwe Schindler 2f5a1d93f5 Fix wrong project name 2022-01-11 17:43:22 +01:00
Uwe Schindler 964006360c LUCENE-10364: Prepare and update errorprone plugin for Java 17 (#590) 2022-01-07 19:21:05 +01:00
Dawid Weiss 78077d4d69 LUCENE-10347: add a helper task 'collectRuntimeJars' that assembles binary artifacts under each module's build 'runtimeJars' folder. (#576) 2022-01-03 21:12:46 +01:00
Dawid Weiss c3d3d0703b Revert "Reverting back to 9d19b49038b."
This reverts commit d2a022f49b.
2021-12-19 11:59:13 +01:00
Dawid Weiss d2a022f49b Reverting back to 9d19b49038. 2021-12-18 23:35:22 +01:00
Dawid Weiss c1c27d4ff4 LUCENE-10255: initial support for Java Modules (squashed). 2021-12-18 20:51:55 +01:00
Dawid Weiss 8d07018050 LUCENE-10240: gradle regenerate fails on java 17 (#449) 2021-11-17 18:36:58 +01:00
Adrien Grand 713385004f Add next minor version 9.1.0 2021-11-02 13:20:20 +01:00
Dawid Weiss 8bcc3dc430
LUCENE-9488: rewrite distribution assembly, signing and checksum generation (#372) 2021-10-13 11:50:58 +02:00
Uwe Schindler 3c6d4a00cd LUCENE-10104, SOLR-15631: Upgrade forbiddenapis to version 3.2 2021-09-15 01:19:17 +02:00
Dawid Weiss e470535072
LUCENE-9654: Expressions module gramar antlr code regeneration (#269) 2021-08-27 12:47:19 +02:00
Dawid Weiss 0d07104de0 Piggyback spotless upgrade to 5.14.3 2021-08-25 10:03:59 +02:00
Dawid Weiss 72f373791e Upgrade palantir's plugin. 2021-08-25 10:03:59 +02:00
Dawid Weiss b016c8dc2a LUCENE-10042: JAR minimal manifest JDK entries are incorrectly set to build-JVM 2021-08-01 14:14:42 +02:00
Dawid Weiss aac6581f6e
LUCENE-9915: Add generation/ checksumming task for gen_ForUtil.py (#126) 2021-05-05 22:03:06 +02:00
Robert Muir 06907a2c12
LUCENE-9188: Add jacoco code coverage support to gradle (#119)
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2021-05-02 16:24:06 +02:00
Dawid Weiss beafd113de
LUCENE-9931: Rename checksummed regen. tasks FooInternal and generated wrappers Foo (#88) 2021-04-16 22:35:51 +02:00
Dawid Weiss f91700a713
LUCENE-9914: Modernize Emoji regeneration scripts (#78) 2021-04-12 20:16:43 +02:00
Dawid Weiss fbf9191abf
LUCENE-9901: UnicodeData.java has no regeneration task (#63) 2021-04-05 20:12:56 +02:00
Dawid Weiss e3ae57a3c1
LUCENE-9872: Make the most painful tasks in regenerate fully incremental (#60) 2021-04-02 09:56:47 +02:00
Dawid Weiss 32e891c60f LUCENE-9871: move dummy outputs aspect into a separate file. 2021-03-30 20:15:55 +02:00
Dawid Weiss fd685682be This removes the last of ant-compatibility hacks - cross-project dependency on test classes. Replaced with gradle's test fixture artifact sharing. Cleaned up spatial3d classes a bit too. 2021-03-30 12:35:33 +02:00