mirror of
https://github.com/BillyOutlast/flash-attention-prebuild-wheels-rocm.git
synced 2026-07-01 01:27:54 -04:00
[WIP] add aws code build
This commit is contained in:
@@ -25,28 +25,40 @@ jobs:
|
||||
use-github-cache: false
|
||||
use-local-cache: false
|
||||
|
||||
- name: Install VisualStudio BuildTools
|
||||
shell: pwsh
|
||||
timeout-minutes: 1200
|
||||
run: |
|
||||
choco install -y visualstudio2022buildtools `
|
||||
--version=117.14.1 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --includeRecommended --includeOptional"
|
||||
# - name: Add msbuild to PATH
|
||||
# uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Install CMake
|
||||
shell: pwsh
|
||||
run: |
|
||||
choco install -y cmake
|
||||
# - name: Install VisualStudio BuildTools
|
||||
# shell: pwsh
|
||||
# timeout-minutes: 1200
|
||||
# run: |
|
||||
# choco install -y visualstudio2022buildtools `
|
||||
# --version=117.14.1 --params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --includeRecommended --includeOptional"
|
||||
|
||||
- name: Install Windows Sdk
|
||||
# - name: Install Windows Sdk
|
||||
# uses: GuillaumeFalourd/setup-windows10-sdk-action@v2.4
|
||||
|
||||
- name: Install Visual Studio BuildTools (C++/CMake + Windows SDK)
|
||||
shell: pwsh
|
||||
timeout-minutes: 1200
|
||||
run: |
|
||||
choco install -y --execution-timeout=1000000 windows-sdk-10.1
|
||||
choco upgrade -y visualstudio2022buildtools `
|
||||
--params "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 `
|
||||
--add Microsoft.VisualStudio.Component.VC.CMake.Project `
|
||||
--add Microsoft.VisualStudio.Component.Windows11SDK.22621 `
|
||||
--includeRecommended --includeOptional"
|
||||
|
||||
- name: Setup MSVC Developer Command Prompt
|
||||
uses: TheMrMilchmann/setup-msvc-dev@v3
|
||||
with:
|
||||
arch: x64
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v2
|
||||
|
||||
- name: Install build dependencies
|
||||
shell: pwsh
|
||||
run: |
|
||||
pip install -U pip setuptools==75.8.0 wheel setuptools packaging psutil ninja numpy
|
||||
pip install -U pip setuptools==75.8.0 wheel packaging psutil numpy ninja
|
||||
|
||||
- name: Build wheels
|
||||
timeout-minutes: 1200
|
||||
|
||||
Reference in New Issue
Block a user