Skip to content

Commit

Permalink
new md
Browse files Browse the repository at this point in the history
  • Loading branch information
partouf committed Jan 12, 2025
1 parent 64d9ce3 commit 63feee2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 0 additions & 20 deletions docs/installing_compilers.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,3 @@ You can install a small amount of Windows compilers using ce_install.ps1, a regu
!no sudo!

`ce smb sync`


# Advanced testing on Windows

Note: do not do any of this unless you know what you're doing. It does not reflect any production situations, it just tries to mimick it.

* Create a directory where the compilers and tools will end up (e.g. `D:/efs/winshared`)
* Make a drive out of the directory with subst
- `subst Z: D:\efs\winshared`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/compilers" --enable windows install 'windows/tools/cmake'`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/compilers" --enable windows install 'windows/tools/ninja'`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/compilers" --enable windows install 'mingw-w64 13.1.0-16.0.2-11.0.0-ucrt-r1'`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/staging" --enable windows install 'fmt 11.0.0'`
* `$env:PATH = "C:\BuildTools\Python;C:\BuildTools\Python\Scripts;Z:\compilers\windows-kits-10\bin;Z:\compilers\cmake-v3.29.2\bin;Z:\compilers\mingw-w64-13.1.0-16.0.5-11.0.0-ucrt-r5\bin;Z:\compilers\ninja-v1.12.1;$env:PATH"`
* `pwsh .\ce_install.ps1 --keep-staging --dry-run --staging-dir "Z:/staging" --dest "Z:/staging" --enable windows build --temp-install --buildfor mingw64_ucrt_gcc_1130 'fmt 11.0.0'`
* `pwsh .\ce_install.ps1 --keep-staging --dry-run --staging-dir "Z:/staging" --dest "Z:/staging" --enable windows build --temp-install --buildfor vcpp_v19_40_VS17_10_x64 'fmt 11.0.0'`

## On WinBuilder

`pwsh .\ce_install.ps1 --staging-dir "C:/tmp/staging" --dest "C:/tmp/staging" --enable windows build --temp-install --buildfor vcpp_v19_40_VS17_10_x64 'fmt 11.0.0'`
20 changes: 20 additions & 0 deletions docs/windows_library_builder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Windows Library Builder

## Testing similar tasks on Local Windows

Note: do not do any of this unless you know what you're doing. It does not reflect any production situations, it just tries to mimick it.

* Create a directory where the compilers and tools will end up (e.g. `D:/efs/winshared`)
* Make a drive out of the directory with `subst Z: D:\efs\winshared`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/compilers" --enable windows install 'windows/tools/cmake'`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/compilers" --enable windows install 'windows/tools/ninja'`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/compilers" --enable windows install 'mingw-w64 13.1.0-16.0.2-11.0.0-ucrt-r1'`
* `pwsh .\ce_install.ps1 --staging-dir "Z:/staging" --dest "Z:/staging" --enable windows install 'fmt 11.0.0'`
* `$env:PATH = "C:\BuildTools\Python;C:\BuildTools\Python\Scripts;Z:\compilers\windows-kits-10\bin;Z:\compilers\cmake-v3.29.2\bin;Z:\compilers\mingw-w64-13.1.0-16.0.5-11.0.0-ucrt-r5\bin;Z:\compilers\ninja-v1.12.1;$env:PATH"`
* `pwsh .\ce_install.ps1 --keep-staging --dry-run --staging-dir "Z:/staging" --dest "Z:/staging" --enable windows build --temp-install --buildfor mingw64_ucrt_gcc_1130 'fmt 11.0.0'`
* `pwsh .\ce_install.ps1 --keep-staging --dry-run --staging-dir "Z:/staging" --dest "Z:/staging" --enable windows build --temp-install --buildfor vcpp_v19_40_VS17_10_x64 'fmt 11.0.0'`

## Testing On WinBuilder

* Execute contents of`init/start-builder.ps1` (outside of the GIT clone if its there)
* `pwsh .\ce_install.ps1 --staging-dir "C:/tmp/staging" --dest "C:/tmp/staging" --enable windows build --temp-install --buildfor vcpp_v19_40_VS17_10_x64 'fmt 11.0.0'`

0 comments on commit 63feee2

Please sign in to comment.