!5 init package
From: @xiezhipeng1 Reviewed-by: @shinwell_hu,@sinever Signed-off-by: @shinwell_hu,@sinever
This commit is contained in:
commit
8e1aa34c95
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# bazel
|
||||
|
||||
#### Description
|
||||
Tool for the automation of building and testing of software
|
||||
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
2. Create Feat_xxx branch
|
||||
3. Commit your code
|
||||
4. Create Pull Request
|
||||
|
||||
|
||||
#### Gitee Feature
|
||||
|
||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
||||
# bazel
|
||||
|
||||
#### 介绍
|
||||
Tool for the automation of building and testing of software
|
||||
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 新建 Feat_xxx 分支
|
||||
3. 提交代码
|
||||
4. 新建 Pull Request
|
||||
|
||||
|
||||
#### 码云特技
|
||||
|
||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
||||
BIN
bazel-3.5.0-dist.zip
Normal file
BIN
bazel-3.5.0-dist.zip
Normal file
Binary file not shown.
42
bazel.spec
Normal file
42
bazel.spec
Normal file
@ -0,0 +1,42 @@
|
||||
Name: bazel
|
||||
Version: 3.5.0
|
||||
Release: 1
|
||||
Summary: a fast, scalable, multi-language and extensible build system
|
||||
License: Apache License 2.0
|
||||
URL: https://www.bazel.build/
|
||||
Source0: https://github.com/bazelbuild/bazel/releases/download/%{version}/bazel-%{version}-dist.zip
|
||||
|
||||
BuildRequires: java-11-openjdk-devel python3 zip unzip python3-unversioned-command
|
||||
|
||||
Requires: libstdc++ libgcc java-11-openjdk-devel python3 zip unzip python3-unversioned-command
|
||||
|
||||
%description
|
||||
{Fast, Correct} - Choose two
|
||||
|
||||
Build and test software of any size, quickly and reliably.
|
||||
|
||||
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
|
||||
|
||||
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
|
||||
|
||||
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
|
||||
|
||||
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
|
||||
|
||||
%prep
|
||||
unzip %{SOURCE0}
|
||||
|
||||
%build
|
||||
env EXTRA_BAZEL_ARGS="--host_javabase=@local_jdk//:jdk" bash ./compile.sh
|
||||
chmod a+x output/bazel
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m755 output/bazel %{buildroot}%{_bindir}
|
||||
|
||||
%files
|
||||
%attr(0755,root,root) %{_bindir}/bazel
|
||||
|
||||
%changelog
|
||||
* Sun Sep 28 2020 Zhipeng Xie<xiezhipeng1@huawei.com> - 3.5.0-1
|
||||
- Package init
|
||||
4
bazel.yaml
Normal file
4
bazel.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: bazelbuild/bazel
|
||||
tag_prefix:
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user