-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add non-root install * rm unused file * add * Update README.md * Update README.md * Update README.md * Update README.md * update install * Update README.md * Update README.md * add non-root install * Update README.md * Update README.md * Update README.md * Update DISCLAIMER-WIP * Update DISCLAIMER-WIP * Update LICENSE * Update LICENSE * add license --------- Co-authored-by: Ubuntu <[email protected]> Co-authored-by: Ubuntu <[email protected]>
- Loading branch information
1 parent
1b5b5e3
commit 9bdc678
Showing
8 changed files
with
117 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build --cxxopt='-std=c++17' --copt=-O3 --jobs=40 | ||
build --action_env=PYTHON_BIN_PATH="/usr/bin/python3.10" | ||
#build --action_env=PYTHON_BIN_PATH="/usr/bin/python3.10" | ||
#build --action_env=PYTHON_LIB_PATH="/usr/include/python3.10" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ header: | |
- 'licenses' | ||
- '**/*.md' | ||
- 'LICENSE' | ||
- 'DISCLAIMER-WIP' | ||
- 'NOTICE' | ||
- '.*' | ||
- '.**/**' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
|
||
# Prerequire | ||
python3.10 | ||
|
||
pip | ||
|
||
``` | ||
sudo apt update | ||
sudo apt-get install python3.10-dev -y | ||
sudo apt-get install python3-dev -y | ||
sudo apt-get install python3-pip -y | ||
``` | ||
|
||
# Install Protobuf | ||
``` | ||
cd protobuf | ||
./install_protobuf.sh | ||
``` | ||
|
||
# Install Bazel | ||
``` | ||
cd bazel | ||
wget https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/bazelisk-darwin-amd64 | ||
chmod +x bazelisk-darwin-amd64 | ||
mkdir -p bin | ||
mv bazelisk-darwin-amd64 bin/bazel | ||
bin/bazel --version | ||
echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc | ||
. ~/.bashrc | ||
``` | ||
or | ||
``` | ||
cd bazel | ||
./install_bazel.sh | ||
echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc | ||
. ~/.bashrc | ||
``` | ||
|
||
|
||
test bazel | ||
``` | ||
bazel --version | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
|
||
wget wget https://github.com/bazelbuild/bazelisk/releases/download/v1.8.1/bazelisk-linux-amd64 | ||
chmod +x bazelisk-linux-amd64 | ||
mkdir -p bin | ||
mv bazelisk-linux-amd64 bin/bazel | ||
|
||
bin/bazel --version | ||
echo "export PATH="$PATH:$PWD/bin"" >> ~/.bashrc | ||
. ~/.bashrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
# | ||
|
||
pip install protobuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters