Commit Graph

24 Commits

Author SHA1 Message Date
Harbor Liu 09fd6e9d24
[Enhancement] Make gen_build_version.py robust when JAVA_HOME is unset (#62785)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-09-05 18:47:00 +08:00
Kevin Cai e5116ba026
[Tool] separate gen_build_version.py, only build java for fe and cpp for be (#61775)
gen_build_version.py allows generating only java or cpp code
skip maven clean phase in fe build

Signed-off-by: Kevin Cai <kevin.cai@celerdata.com>
2025-08-12 12:29:13 +08:00
Binglin Chang b6e09e6bd0
[Enhancement] Add gradle build for FE (#60933)
Signed-off-by: Binglin Chang <decstery@gmail.com>
2025-07-24 11:30:37 +08:00
yiming 8fc6720ea7
[Feature] Add build arch info when showing FE/BE version (#48572)
Signed-off-by: Dejun Xia <xiadejun@starrocks.com>
2024-07-18 10:10:14 -04:00
Kevin Cai e24316875a
[Enhancement] Add build host distributor into FE/BE version info (#41265) 2024-02-29 08:34:15 +08:00
Alex Zhu 858272bb16
[Tool] Get a list of compile time for each C++ file (#41322)
Signed-off-by: Alex Zhu <zhuming9011@gmail.com>
2024-02-21 10:23:45 +00:00
Alex Zhu acadd8cb9f
[Tool] Fix check-format.sh script missing files in be/test directory (#24978)
Signed-off-by: sduzh <zhuming9011@qq.com>
2023-06-09 08:11:07 +00:00
lichaoyong 5af915f39b
[Refactor] Move the STARROCKS_VERSION and STARROCKS_COMMIT_HASH to the build.sh (#24215)
Currently, the two variables are defined in the
`build-support/gen_build_version.py`. It's hard to debug and search. The
pull request move the logic to the build.sh. The definition logic of
STARROCKS_VERSION is as the following.
1. If the user set the STARROCKS_VERSION, use the user's definition.
2. If the current commit is a tag, use the tag name.
3. If no tag is available, use the branch name
4. If not a branch, use the commit-hash
2023-05-26 14:59:06 +08:00
lichaoyong 145803ae5f
[Enhancement] Make the output of bin/show_be_version.sh more clear (#24142)
Currently, the output will be UNKNOWN. It's not friendly.
In the pull request, I change it to `branchName-commitHash`, for example
`main-e318ec5`.
2023-05-25 20:56:21 +08:00
Alex Zhu 097632bccd
[Enhancement] Exclude be/src/thirdparty from clang-format (#21622)
Signed-off-by: sduzh <zhuming9011@qq.com>
2023-04-14 16:17:13 +08:00
trueeyu 9a1d6fa169
[Refactor] remove some unused code (#16512) 2023-01-11 19:50:44 +08:00
dorianzheng 3b70469123
Get accurate build type on make time (#16214)
Before this diff, we get build type from environment variable. However, most user won't set env variable, so we will get `UNKNOWN` build type. This diff try to get build type from cmake file which is accurate.
```
./show_be_version.sh
UNKNOWN ASAN (build 87eec03)
Built on 2023-01-05 00:16:49 by zhengzhiquan@localhost
```
2023-01-04 13:32:28 -08:00
Kevin Cai ef61231444
[Enhancement] use fingerprint to determine if skip version generating (#16006)
* use fingerprint to determine if needs to skip version file generating.
* current fingerprint is generated from all the parameters conjunction
  except `build_time`
* don't waste time on unnecessary recompile/relink. Be kind to ourselves.
2022-12-29 22:05:13 -08:00
lichaoyong 8e1774879f
[License] Change Elastic License to Apache License 2.0 (#14748) 2022-12-06 17:11:17 -08:00
dirtysalt 3146d9706e
[Enhancement] write version file always (#13960) 2022-11-28 16:44:25 +08:00
lichaoyong 2da6924fb4
[Refactor] Change the license from StarRocks Limited to StarRocks Inc (#9979) 2022-08-15 19:22:55 +08:00
wangruin 01b0e45b01
Optimize Build user when displaying fe or be version (#5437) 2022-04-24 13:14:05 +08:00
stdpain a1404ed75c
[compile] remove compile dependency for gensrc/version.h (#4893)
Some files depend on this file. When we switch the commit-id the `gensrc/version.h` will be modified,
causing these files to be recompiled
2022-04-08 00:04:28 +08:00
trueeyu d8b9dd9c8c
format support .tpp file (#3880)
clang format support .tpp file
2022-03-05 18:25:11 +08:00
lichaoyong 65626104be
Add "Copyright 2021-present" to all file headers (#2612) 2022-01-10 10:21:14 +08:00
Binglin Chang a45469a46a
Fix gen_notice.py encoding issue (#437) 2021-09-26 21:54:04 +08:00
Binglin Chang 877d2e3612
Normalize the license and notice files and add them into binary package (#318) 2021-09-22 19:11:18 +08:00
yan.zhang 246db29075
Remove .pyc file (#14) 2021-09-06 13:00:51 +08:00
Zhao Chun 5fa55b8199 Init commit 2021-09-04 22:14:12 +08:00