File tree Expand file tree Collapse file tree 13 files changed +91
-2
lines changed
Expand file tree Collapse file tree 13 files changed +91
-2
lines changed Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8590 source ~/env_setup.sh # aipu
8691 cd python
8792 rm -rf ./build ./*.egg-info
93+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8894 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8995 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
9096
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' aarch64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' aarch64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8489
8590 cd python
8691 rm -rf ./build ./*.egg-info
92+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8793 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8894 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8995
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8388 fi
8489
8590 rm -rf ./build ./*.egg-info
91+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8692 MAX_JOBS=4 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree # enflame-gcu300
8793 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8894
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
6873 run : |
6974 set -x
7075 TRITON_VER="3.5"
71- CHIP=".gcu400. "
76+ CHIP=""
7277 export FLAGTREE_BACKEND=enflame
7378 WHL_VER=${{ inputs.WHL_VER }}
7479 PYTHON_VER=${{ inputs.PYTHON_VER }}
8388 fi
8489
8590 rm -rf ./build ./*.egg-info
91+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8692 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8793 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8894
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8489
8590 cd python
8691 rm -rf ./build ./*.egg-info
92+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8793 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8894 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8995
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8489 fi
8590
8691 rm -rf ./build ./*.egg-info
92+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8793 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8894 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8995
@@ -109,6 +115,7 @@ jobs:
109115 fi
110116
111117 rm -rf ./build ./*.egg-info
118+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
112119 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
113120 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
114121
@@ -134,6 +141,7 @@ jobs:
134141 fi
135142
136143 rm -rf ./build ./*.egg-info
144+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
137145 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
138146 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
139147
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8489
8590 cd python
8691 rm -rf ./build ./*.egg-info
92+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8793 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8894 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8995
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8590 source ~/env_setup.sh # metax
8691 cd python
8792 rm -rf ./build ./*.egg-info
93+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8894 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8995 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
9096
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8489
8590 cd python
8691 rm -rf ./build ./*.egg-info
92+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8793 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8894 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
8995
Original file line number Diff line number Diff line change 1616 PLATFORM :
1717 required : true
1818 default : ' x86_64'
19+ FLAGTREE_PYPI_KEY :
20+ required : false
1921 workflow_call :
2022 inputs :
2123 WHL_VER :
3032 type : string
3133 required : true
3234 default : ' x86_64'
35+ FLAGTREE_PYPI_KEY :
36+ type : string
37+ required : false
3338
3439concurrency :
3540 group : ${{ github.workflow }}-${{ inputs.WHL_VER }}-${{ inputs.PYTHON_VER }}-${{ inputs.PLATFORM }}
8590
8691 cd python
8792 rm -rf ./build ./*.egg-info
93+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
8894 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
8995 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
9096
@@ -111,6 +117,7 @@ jobs:
111117
112118 cd python
113119 rm -rf ./build ./*.egg-info
120+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
114121 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
115122 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
116123
@@ -137,6 +144,7 @@ jobs:
137144
138145 cd python
139146 rm -rf ./build ./*.egg-info
147+ { export FLAGTREE_PYPI_KEY=${{ inputs.FLAGTREE_PYPI_KEY }}; } 2>/dev/null
140148 MAX_JOBS=32 python${PYTHON_VER} setup.py bdist_wheel -d ~/dist-flagtree
141149 env | grep -E '^(FLAGTREE_WHEEL_VERSION)=' >> $GITHUB_ENV || true
142150
You can’t perform that action at this time.
0 commit comments