- Start the OOBE and make sure you have an Internet connection
- Go through the first few screens for language options and such
- When you get to the Microsoft Account screen, hit Shift-F10 to open a command prompt
- The next step depends on whether you are on wireless or wired:
a. Wireless:
netsh wlan disconnect
b. Wired:netsh interface show interface
to get the interface name thennetsh interface set interface name=”name from earlier” admin=DISABLED
- Type
exit
and hit the back arrow at the top
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
Build LLVM (with Wasm) on Windows | |
--------------------------------- | |
Tested with VS2019 (probably works with older versions). See here for original instructions: | |
https://emscripten.org/docs/building_from_source/index.html | |
http://llvm.org/docs/CMake.html | |
Make sure you have CMake (tested with 3.15.5), Ninja (tested with 1.9.0) and Git installed and on your Path. |
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
#!/usr/bin/env python3 | |
# Tool to compress a directory of PNG files with bc7enc and log the error | |
# metrics as a CSV, with the aim to verify that any code changes neither impact | |
# the quality nor execution time. Since the aim isn't to keep the generated | |
# files, the outputs are always the same file (deleteme.dds|png), overwriting | |
# each time. bc7enc is currently limited to loading PNGs, so too is this script. | |
# Example usage: | |
# | |
# ./runbc7enc.py -b 5 -o /Volumes/Temp -x ./bc7enc-mine -l mine.csv -t -s . |
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
# Most options are straightforward, the oddity being LLVM_ENABLE_DUMP to both boostrap and stage2 compilers | |
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_DUMP=On -DCLANG_ENABLE_BOOTSTRAP=On -DLLVM_ENABLE_PROJECTS='clang;clang-tools-extra;lld;lldb' -DBOOTSTRAP_CMAKE_BUILD_TYPE=Release -DBOOTSTRAP_LLVM_ENABLE_DUMP=On -DBOOTSTRAP_LLVM_INCLUDE_EXAMPLES=Off -DBOOTSTRAP_LLVM_INCLUDE_TESTS=Off ../LLVM/llvm | |
ninja stage2 |
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
# Clone git into a source dir and create a destination for the compiled source: | |
# | |
cd path/to/store/files | |
git clone git://gcc.gnu.org/git/gcc.git gcc-src | |
mkdir gcc-obj | |
# Show the list of branches and select the one we want: | |
# | |
cd gcc-src | |
git branch -a |
Work-in-progress and notes for building Dawn for Linux on Power9 (x64 should be easier). Tested on Debian Bullseye.
- Depot Tools doesn't work, so CMake appears to be the only way. If this is of further interest Depot Tools fails because some prebuilt binaries aren't available for ppc64le (some are, some are out of date, and some are missing). Building
gn
manually (see building Chrome) then settingDEPOT_TOOLS_UPDATE=0
allowsgn
to generate the build scripts but this was still failing. CMake works so don't try any further. - Install all the depdendencies. The ones to build Chrome were already added but also:
sudo apt install libx11-dev xcb libxcb-xcb-dev x11-xkb-utils libx11-xcb-dev
. - GCC will build but with warnings (mostly ABI changes but also the
UNREACHABLE()
macro usage needs slightly reworking do be GCC friendly) so install Clang (which is what Dawn is developed with anyway). - Clang needs setting as the default c
Dawn
Project main URL:
https://dawn.googlesource.com/dawn/
Bug tracker:
https://bugs.chromium.org/p/dawn/