Ilia Kirianovskii
0c92e9ee4c
[bazel] Force all workers to quit after the build to prevent excessive memory usage when idle (IJI-3206)
...
(cherry picked from commit 3b4b116d54aa644354f6b3994149058bc17aba76)
GitOrigin-RevId: 89657f0c2b64949f7a03de89a4ea92b44c139b39
2025-10-31 17:07:00 +00:00
Ilia Kirianovskii
afba298d9f
[bazel] Use platform-specific startup options in common.bazelrc (IJI-3155)
...
From now on all startup options are specified in .bazelrc files to prevent shell-specific issues (e.g. https://youtrack.jetbrains.com/issue/IJI-3155 ) and improve maintainability.
(cherry picked from commit b8cd66068118444aca05b24b3550b3917e15866e)
GitOrigin-RevId: f0c711bb02532eed6db72ad28ee70804ae7ff570
2025-10-29 15:47:21 +00:00
Ilia Kirianovskii
b6f20469a6
[bazel] Increase size of per-directory buffer for events to prevent overflow when watching local filesystem for changes on Windows in common.bazelrc (IJI-3103)
...
d7e087876f/src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java (L290)
(cherry picked from commit d192e1c6fd052196df5697675f878542535bd643)
GitOrigin-RevId: a73a37cb792fe1434ecb2cffa128862b50f636bd
2025-10-27 11:02:59 +00:00
Ilia Kirianovskii
25ac4bde20
[bazel] Increase file watch service queue maximum size to prevent overflow when watching local filesystem for changes on Windows in common.bazelrc (IJI-3103)
...
6705a9255d/src/java.base/share/classes/sun/nio/fs/AbstractWatchKey.java (L39)
(cherry picked from commit 8597d4b0a2db4bc7d98b3e9cb84afc5e7ce38b15)
GitOrigin-RevId: 9962699417b35927923af58d3949b989ae7b20c3
2025-10-27 11:02:59 +00:00
Ilia Kirianovskii
7eb1304fbe
[bazel] Use low-latency ZGC to prevent overflow when watching local filesystem for changes on Windows in common.bazelrc (IJI-3103)
...
G1GC pauses the sun.nio.fs.WindowsWatchService.Poller's thread, delaying asynchronous callback processing long enough
that ReadDirectoryChangesW returns zero bytes transferred (aka StandardWatchEventKinds.OVERFLOW):
6705a9255d/src/java.base/windows/classes/sun/nio/fs/WindowsWatchService.java (L630)
(cherry picked from commit 684201b0fa268138606af77a1a9989b623e4c253)
GitOrigin-RevId: 9764fb273aa8464c35af2b4c685719e6d8e1e988
2025-10-27 11:02:59 +00:00
Ilia Kirianovskii
c938edda61
[bazel] Limit the server memory usage in common.bazelrc (IJI-3103)
...
https://youtrack.jetbrains.com/issue/IJI-3103#focus=Comments-27-12862178.0-0
(cherry picked from commit fbf03e88f4fc3eef4e58e073ec7ff8a5d48a6ffc)
GitOrigin-RevId: f02b7b3ccf78790afaffec533031154cb4756beb
2025-10-27 11:02:59 +00:00
Ilia Kirianovskii
dae88adfc2
[bazel] Enable compact *.repo_mapping manifest in common.bazelrc (IJI-2996)
...
GitOrigin-RevId: 88fe7d3a46b068232a1e05827180b54e56854304
2025-09-08 21:22:25 +00:00
Evgenii Ilichev
96e5d4337e
bazel: increase default tests timeout
...
GitOrigin-RevId: 59b65296b0097759b28ca751b57da2432c66a38a
2025-09-08 18:21:45 +00:00
Ilia Kirianovskii
b7d1c77663
[bazel] Set java runtime version to remotejbr_21 in common.bazelrc
...
GitOrigin-RevId: 5784c49c371e4a6ccb1e21aacd449d396180b80f
2025-09-08 16:55:50 +00:00
Ilia Kirianovskii
a97277d131
Revert "[bazel] Temporarily disable experimental file watch service on Windows in common.bazelrc (DPE-57, DPE-30, DPE-40)" (IJI-2697, IJI-2698, IJI-2699)
...
This reverts commit c84ebf960fd841ab018c442bc87bfd68916f877d.
GitOrigin-RevId: 96ad5975583bed1ee660cbecb0f6ac5dcb5417be
2025-09-02 14:56:54 +00:00
Nikolay Chashnikov
6d32156bd8
[bazel build] compile using JBR 21 and use JVM 21 target level by default (IJPL-176259)
...
GitOrigin-RevId: 0eaf0895dbc72be209b8f9acf046becc06a6fd1a
2025-08-30 07:50:09 +00:00
Evgenii Ilichev
495ba78846
bazel: detailed test summery by default
...
GitOrigin-RevId: 7854ede1f308a2c82ba5be07143ba5e72d5efc2c
2025-08-29 12:05:25 +00:00
Ilia Kirianovskii
1c65f1009c
[bazel] Set file watch service options as common (not build) in common.bazelrc (IJI-2840)
...
GitOrigin-RevId: e0a9b12f1bdb2a9cd5ee99f35dbdd8c777d5c9ad
2025-08-26 10:49:20 +00:00
Leonid Shalupov
eea783d235
bazel: move disk cache settings to common.bazelrc
...
share disk cache between building of community/ultimate projects
GitOrigin-RevId: 740bc4a2fe48ff1e10ef81b04b608c5d16878361
2025-08-23 03:16:22 +00:00
Ilia Kirianovskii
ca2e3661a4
[jps-to-bazel] Specify no_proc attribute for kt_javac_options if !AnnotationProcessingConfiguration.isEnabled in BazelBuildFileGenerator#computeJavacOptions (IJI-2835)
...
Also adds @community//:default-javac-opts w/ annotation processing disabled in common.bazelrc.
GitOrigin-RevId: 9d9560cd5a24774e2e7be2aebe85e330a918cf92
2025-08-13 14:43:32 +00:00
Ilia Kirianovskii
8beb05e4ad
[bazel] Switch expects, noria, and rpc compiler plugins to source builds (IJI-2964)
...
GitOrigin-RevId: 187da09e0822d426fcf5d527bc3b588350a890ed
2025-08-10 23:17:57 +00:00
Ilia Kirianovskii
fb0bffb434
[bazel] Switch to new worker compilation implementation (IJI-2835)
...
GitOrigin-RevId: b24a72b6b67f392d274a49bb91b6e77443c05d10
2025-08-01 07:19:27 +00:00
Ilia Kirianovskii
ecdb27be8d
[bazel] Set tool java runtime version to remotejbr_17 in common.bazelrc (IJI-2943)
...
Also adds community/build/jbr-toolchains.bzl w/ jbrsdk v17.0.15b1381.5.
GitOrigin-RevId: 53435c3afb9b1f4b5255835c2a8c9de683a538f9
2025-07-30 17:30:56 +00:00
Leonid Shalupov
175caa5ae2
bazel: switch to sandboxed tests by default
...
we plan to use sandboxed tests by default and explicitly mark local tests with test tags
https://bazel.build/reference/be/common-definitions#common.tags
GitOrigin-RevId: 35e08631e6bb6b902d978cc29ca891dd23567084
2025-07-22 13:21:31 +00:00
Ilia Kirianovskii
5be99550f9
[bazel] Upgrade rules_kotlin to v2.1.3 (IJI-2878)
...
Also removes obsolete rules_kotlin develar/v2.0.0-jb.14.
GitOrigin-RevId: 588c96c5035bd80e7fedb73f3b66126a58038734
2025-07-17 14:52:04 +00:00
Ilia Kirianovskii
c2d9e0fa1f
Revert "[jvm-rules] reduce CPU count to host cpu to avoid high memory consumption" (IJI-2888)
...
This reverts commit 96feeff38fa7ab67e4212f4d57909e78fa11032a.
GitOrigin-RevId: 96a2a2c54e8074a04b76b1091087d504546a3b00
2025-07-08 18:13:57 +00:00
Ilia Kirianovskii
3e1cbe2c73
[rules_jvm] Use //platforms:jvm (a new one) as target platform in jvm_library and jvm_resources rules (IJI-2696, IJI-2878)
...
Also adds --experimental_platform_in_output_dir to use target platform short name (not CPU) in the output directory in common.bazelrc.
GitOrigin-RevId: acf0ff9b63a68d230d9e5102239d1e28e3e8fed1
2025-07-08 07:34:36 +00:00
Ilia Kirianovskii
3f186dffbb
[rules_jvm] Use deploy jar (not executable) when running jvm-worker (IJI-2719, IJI-2696, IJI-2878)
...
Mainly to make its input hash identical on all platforms (unlike executable from java_binary rule) and enable remote cache hits across Linux/macOS/Windows.
GitOrigin-RevId: f9060acbf9848004a23c3240b58b3104a5684528
2025-07-07 18:38:32 +00:00
Leonid Shalupov
c9f7ebd119
bazel: start with running tests in non-sandboxed mode by default
...
GitOrigin-RevId: 00475ee08513bacf473b681ee191497607f9d746
2025-07-06 10:45:17 +00:00
Ilia Kirianovskii
8029947a41
[rules_jvm] Use deploy jar (not executable) when running jvm-builder (IJI-2719, IJI-2696)
...
GitOrigin-RevId: 033dfd4853f24714093975430663a0b851abcb6a
2025-06-29 21:07:59 +00:00
Leonid Shalupov
55bbdd4d37
bazel: remove --experimental_sibling_repository_layout
...
one experimental option less and it looks like we won't get native compilation issues like:
https://github.com/bazelbuild/bazel/issues/26361
GitOrigin-RevId: 9baceb40e32b600ce8c9e04d95067027a1184a52
2025-06-24 21:39:09 +00:00
Mikhail Filippov
e66688b1e0
[jvm-rules] reduce CPU count to host cpu to avoid high memory consumption
...
GitOrigin-RevId: 96feeff38fa7ab67e4212f4d57909e78fa11032a
2025-05-27 17:27:12 +00:00
Evgenii Ilichev
48ff710aaa
[IJI-2712] move monorepo-jvm-builder into community scope
...
as monorepo-jvm-builder is required to build community apart from the whole ultimate project
GitOrigin-RevId: d9a78854b3f48d182c423ba7269b3bf1c0d4141a
2025-05-22 16:18:00 +00:00
Ilia Kirianovskii
4fad4b993f
[rules_jvm] Set tool java runtime version to remotejdk_17 in common.bazelrc (DPE-66)
...
Also adds TargetConfigurationDigestProperty.TOOL_JVM_VERSION to specify the current runtime version in target digests in BazelJpsModelLoaderKt#loadJpsModel.
GitOrigin-RevId: 3b6ade0d24e0538b09e24bdd3ef8bc8ac9822aad
2025-05-16 22:04:04 +00:00
Leonid Shalupov
dd161e4384
Revert "set --experimental_convenience_symlinks to ignore due to IDEA VFS issues"
...
This reverts commit cf3222b3cadf8926c0d34a453337ab76cde3b54c.
GitOrigin-RevId: a995305e20542b700bc85698de66cf40175e08e8
2025-05-15 21:25:11 +00:00
Vladimir Krivosheev
545b36748f
set --experimental_convenience_symlinks to ignore due to IDEA VFS issues
...
GitOrigin-RevId: cf3222b3cadf8926c0d34a453337ab76cde3b54c
2025-05-15 15:23:30 +00:00
Mikhail Filippov
4d6ad683a0
disable watchfs on Linux
...
GitOrigin-RevId: 8956236b2407fd36a27fb8df025fb9da6cea94f5
2025-05-14 19:01:10 +00:00
Ilia Kirianovskii
a5c75ad81d
[bazel] Temporarily disable the lockfile on Windows in common.bazelrc (DPE-59)
...
GitOrigin-RevId: e563e96a097be4e5a6397be404cb0d0bb0e5418d
2025-05-12 13:49:48 +00:00
Ilia Kirianovskii
ccdf1dc56e
Revert "[bazel] Temporarily update the lockfile on Windows in common.bazelrc (DPE-59)"
...
This reverts commit 8209c47e601b2746239ffc6ba6122cd89c7ed8c1.
GitOrigin-RevId: d74bfd4bcd7c431d70045b2eab4dd73af4fd0964
2025-05-12 13:49:48 +00:00
Ilia Kirianovskii
5e5c318590
[bazel] Temporarily update the lockfile on Windows in common.bazelrc (DPE-59)
...
GitOrigin-RevId: 8209c47e601b2746239ffc6ba6122cd89c7ed8c1
2025-05-11 22:02:09 +00:00
Vladimir Krivosheev
3023c3224b
customize compiler plugin set via custom target
...
GitOrigin-RevId: ad790785ccd29b1922210547b7555e82761c7a00
2025-05-09 20:49:36 +00:00
Leonid Shalupov
393462967e
bazel scripts: do not detect toolchains from the system DPE-32
...
GitOrigin-RevId: 6fb6e2a526f2fd660106ff6034c9680d0c679d64
2025-05-09 19:02:35 +00:00
Ilia Kirianovskii
6deee1c8e1
[bazel] Temporarily disable experimental file watch service on Windows in common.bazelrc (DPE-57, DPE-30, DPE-40)
...
GitOrigin-RevId: c84ebf960fd841ab018c442bc87bfd68916f877d
2025-05-09 10:38:18 +00:00
Vladimir Krivosheev
5658e3bbe0
update rules_jvm deps
...
GitOrigin-RevId: 01477edbea5f61aac6034002c9039a0ff175a433
2025-04-07 11:10:56 +00:00
Vladimir Krivosheev
aa10e77de1
IJPL-179600 we need ABI with JPS cache data for all targets - enable incremental compilation for all targets
...
GitOrigin-RevId: e6206929a45d7e0b620e9b10d4f6da2921171d14
2025-03-13 02:41:54 +00:00
Vladimir Krivosheev
f4d2cf47c1
increase ram and cpu resource request
...
GitOrigin-RevId: 2f74dccd38732e703eeb0ad80731ca1014b15152
2025-03-11 02:37:08 +00:00
Leonid Shalupov
5a198e9c10
bazel: common options between community and ultimate
...
GitOrigin-RevId: dbdbfddcae08547a0029e8bcbe36bc6098e69878
2025-02-28 22:12:15 +00:00