PJ Reiniger
892666fbbe
[robotpy] Add build scripts for wpilib and dependencies ( #8348 )
...
This gets the majority of projects from mostrobotpy building in this mirror. Projects missing still are cscore and the halsim wrappers.
2025-11-09 10:32:58 -08:00
Austin Schuh
51fbde777b
[bazel] Package headers in ntcoreffi correctly ( #8170 )
...
* [bazel] Package headers in ntcoreffi correctly
The original package includes headers from ntcore and wpiutil, so
include those too.
* Merge in new 2027
2025-10-25 21:17:43 -07:00
Austin Schuh
5c719ced5f
[bazel] Put eigen in an external repo like bzlmod ( #8169 )
...
This sets us up to use AOS, which wants @eigen to resolve, without
introducing a second version or copy of eigen.
2025-10-03 12:32:40 -07:00
Gold856
7aabc19977
[bazel] Update Bazel to 8.4.1 to fix Windows builds ( #8258 )
...
- Fix missing epilogue deps
- Compress debug info to save space in CI
2025-09-27 22:50:21 -07:00
PJ Reiniger
bd1dcc4358
[bazel][robotpy] Add mirror for robotpy's wpiuil and wpinet libraries ( #8062 )
...
Project import generated by Copybara.
GitOrigin-RevId: 92ea93d1b47a82667044bd0af05f7fdb34d2c2c2
2025-08-30 11:55:11 -07:00
Austin Schuh
6eba91bc04
[bazel] Build and test wpical with bazel ( #8155 )
...
This pulls down the prebuilt ceres libraries and uses them with Bazel to
build and test wpical.
Do note that bazel looks up artifacts used for testing differently than
the other build systems. It wants you to use its runfiles API to find
the dependencies reliably. Add a function to look up the paths for
files, and use runfiles only when building with Bazel to maintain
compatibility with other languages.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-08-06 22:56:42 -06:00
Austin Schuh
13852760f6
[bazel] Build wpilibc docs with doxygen ( #8157 )
...
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-08-04 23:49:47 -06:00
Austin Schuh
0dd77e55cb
[bazel] Build and publish ntcoreffi too ( #8147 )
2025-08-02 21:59:50 -07:00
Austin Schuh
0089e518cb
[bazel] Update configuration for which platforms to split debug symbols for ( #8140 )
...
I could have sworn that we were only splitting debug symbols on x86.
The most recent tests I have done suggest that is backwards. This is
easy to reconfigure later if needed.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-08-01 13:00:13 -07:00
Austin Schuh
48077cdb91
[bazel] Add publishing rules for other package types ( #8139 )
...
This adds shortcuts for static only, shared only, and binary projects.
The end result is that it is pretty easy from here to publish all the
arifacts needed.
2025-08-01 12:59:25 -07:00
Austin Schuh
12223ff188
[bazel] Implement cscore shared libraries ( #8089 )
...
Use all our fancy new linking code to link cscore properly. nm reports that the symbols look quite good.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com >
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2025-07-31 21:04:22 -07:00
Austin Schuh
ef95333a89
[bazel] Shorten the platform suffix for windows arm ( #8129 )
...
This needs to be short enough to fit in the windows path restriction.
The full name was too long for some targets.
2025-07-31 19:27:21 -07:00
Austin Schuh
db95f55394
[bazel] Handle debug symbols and debug builds like gradle ( #8118 )
...
This follows the gradle build accurately. Gradle copies debug symbols
into a second file (libfoo.so.debug) and links it back into the .so
file. Disable this behavior when gradle doesn't do it today.
Also, name everything correctly. When building debug builds, most
libraries get a 'd' at the end of them. Do that here too.
2025-07-30 20:07:06 -07:00
Austin Schuh
3871cab6e8
[bazel] Use WPILIB_VERSION automatically for version template generation ( #8117 )
2025-07-26 15:10:15 -07:00
Austin Schuh
373eedc77b
[bazel] Generate a filtered .def file for windows for wpimath ( #8113 )
...
wpimath otherwise quickly gets too many symbols. Instead, gradle
exports only some of the symbols from protobuf files automatically, and
then manually exports the math operations. Do that here too.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-07-26 14:47:12 -07:00
PJ Reiniger
c78bd942bb
[bazel] Make publishers for c++ hdr / srcs, and java ( #8114 )
2025-07-24 09:11:09 -04:00
Austin Schuh
e2f901822c
[bazel] Upgrade bazel to 8.3.1 and rules_cc to 0.1.4 ( #8112 )
2025-07-24 09:10:10 -04:00
Austin Schuh
60098b0685
[bazel] Build a single maven artifact bundle ( #8049 )
...
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
Co-authored-by: PJ Reiniger <pj.reiniger@gmail.com >
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2025-07-22 14:26:20 -06:00
Austin Schuh
89c1fc156d
[bazel] Switch build tag filters from no-roborio to target_compatible_with ( #8067 )
...
This uses platforms a lot better.
Signed-off-by: Austin Schuh <austin.linux@gmail.com >
2025-07-07 23:44:08 -05:00
PJ Reiniger
1ccafdc13f
[bazel] Simple shared library implementation ( #8044 )
2025-07-01 22:53:34 -07:00
PJ Reiniger
e13d237390
[bazel] Create better static libraries and add basic publishing ( #8029 )
2025-06-27 16:36:12 -07:00
PJ Reiniger
fbbc4bc53c
[bazel] Clean up bazel scripts ( #7984 )
2025-06-13 20:53:09 -07:00
PJ Reiniger
6e3f48daeb
[bazel] Add scripts to validate pregeneration tools ( #7690 )
2025-05-13 22:01:47 -07:00
PJ Reiniger
0e5a6f38d8
[bazel] MVP for building GUI related things with bazel ( #7934 )
...
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2025-05-12 08:24:41 -06:00
Peter Johnson
36811211be
Merge branch 'main' into 2027
2025-04-25 23:45:43 -07:00
David Vo
d04e15b957
[bazel] Avoid globally linking macOS SDK frameworks ( #7927 )
2025-04-25 10:37:42 -07:00
PJ Reiniger
3b345fe218
[bazel] Add macros to build jni code and java tests ( #7693 )
2025-01-26 16:52:33 -08:00
PJ Reiniger
a9f3fc6b2c
[bazel] Update toolchain to support systemcore ( #7689 )
2025-01-16 10:52:43 -07:00
PJ Reiniger
9ccd73108b
[bazel] MVP for building wpilibc + commands framework ( #7231 )
2024-12-18 22:00:40 -08:00
Gold856
91142ba5fe
[build] Remove Windows constexpr mutex define ( #7375 )
...
Since we ship a newer runtime, and we also have checks to ensure a valid runtime, we can remove this again.
2024-11-16 07:27:46 -08:00
Tyler Veness
7c91b81906
[ci] Upgrade to wpiformat 2024.45 ( #7326 )
2024-11-02 17:56:55 -07:00
PJ Reiniger
36e0c9d6db
[build] MVP for building with bazel ( #6994 )
2024-10-19 09:54:49 -07:00