mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 10:09:41 +00:00
Merge commit 'a26ba690fd08aa6b6aef967a39f857292ab2b8bd' into develop
This commit is contained in:
@@ -9,13 +9,13 @@ run_and_check() {
|
||||
return $status
|
||||
}
|
||||
|
||||
echo "I: Installing tools required for pre-commit checks..."
|
||||
run_and_check apt install clang-format-12
|
||||
|
||||
echo "I: Creating and activating virtual environment for pre-commit..."
|
||||
python3 -m venv "$(dirname "$0")/../.venv"
|
||||
source "$(dirname "$0")/../.venv/bin/activate"
|
||||
|
||||
echo "I: Installing tools required for pre-commit checks..."
|
||||
run_and_check pip install dos2unix
|
||||
run_and_check pip install clang-format==12.0.1
|
||||
echo "I: Installing pre-commit in virtual environment..."
|
||||
run_and_check pip install pre-commit
|
||||
run_and_check pre-commit install
|
||||
|
||||
Reference in New Issue
Block a user