Dawn
Project main URL:
https://dawn.googlesource.com/dawn/
Bug tracker:
https://bugs.chromium.org/p/dawn/
Dawn
Project main URL:
https://dawn.googlesource.com/dawn/
Bug tracker:
https://bugs.chromium.org/p/dawn/
Work-in-progress and notes for building Dawn for Linux on Power9 (x64 should be easier). Tested on Debian Bullseye.
gn
manually (see building Chrome) then setting DEPOT_TOOLS_UPDATE=0
allows gn
to generate the build scripts but this was still failing. CMake works so don't try any further.sudo apt install libx11-dev xcb libxcb-xcb-dev x11-xkb-utils libx11-xcb-dev
.UNREACHABLE()
macro usage needs slightly reworking do be GCC friendly) so install Clang (which is what Dawn is developed with anyway).netsh wlan disconnect
b. Wired: netsh interface show interface
to get the interface name then netsh interface set interface name=”name from earlier” admin=DISABLED
exit
and hit the back arrow at the top# 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 |
# 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 |
#!/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 . |
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. |
From a Tezro with a Seagate 10k RPM disk (link)
% diskperf -D -W -n "SGI ST373405LC" -r4k /d/test
#---------------------------------------------------------
# req_size fwd_wt fwd_rd bwd_wt bwd_rd rnd_wt rnd_rd
# (bytes) (MB/s) (MB/s) (MB/s) (MB/s) (MB/s) (MB/s)
#---------------------------------------------------------
4096 0.68 24.14 0.69 10.63 0.77 0.85
8192 1.34 41.86 1.40 15.25 1.49 1.69
From the SGI Discord (link)
gdb -> dbx cheatsheet
---------------------
b stop at [line]/stop in [func]/stop [expression|variable]
bt where
w stop [var]
c cont