Hey there,
I recently revisited Dawn after a break and updated to the latest codebase, only to encounter some new build issues. Specifically, when setting the following flags in the `
args.gn` file within the `out/Official` directory:
```gn
is_official_build=true
strip_debug_info=true
symbol_level=0
```
I ran into an error about a missing Python PGO-related file:
```
D:/libraries/depot_tools/bootstrap-2@3_11_6_chromium_30_bin/python3/bin/python3.exe: can't open file 'N:\\libraries\\dawn\\tools\\update_pgo_profiles.py': [Errno 2] No such file or directory
ERROR at //build/config/compiler/pgo/BUILD.gn:113:23: Script returned non-zero exit code.
pgo_data_path = exec_script("//tools/update_pgo_profiles.py",
^----------
```
I bypassed this by commenting it out, but I'm uncertain if PGO is used for the optimized release (official) builds.
Moreover, I've been facing compilation errors via terminal commands that weren't an issue before, leading me to revert to building directly from vs2022. It's perplexing why builds succeed in vs2022 but fail in the terminal, given both should theoretically perform the same operations.
The terminal errors relate to C++20 standards, such as deprecated implicit copy assignment operators for classes with user-declared destructors:
```
../../include\dawn/platform/DawnPlatform.h(74,13): error: definition of implicit copy assignment operator for 'WaitableEvent' is deprecated because it has a user-declared destructor [-Werror,-Wdeprecated-copy-with-dtor]
74 | virtual ~WaitableEvent() = default;
```
Given that your builds presumably pass without issue, I'm seeking insights or recommendations on resolving these discrepancies. Are you employing C++20 for Dawn, or do you default to C++17? I've experimented with both `clang-cl` and `cl` compilers without notable differences.
Understanding that build system issues can be uniquely complex and not directly your responsibility to fix, my inquiry stems from previous success following the same setup steps, now seemingly failing. Any changes or suggestions you could provide would be greatly appreciated. Meanwhile, I have a workaround by building through vs2022, so my work isn't halted. Many thanks for any help you can offer.