Skip to content

Commit

Permalink
updated NOTES.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 4, 2024
1 parent b0ba3b9 commit 5534c3a
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3041,6 +3041,45 @@ qmake confusions:
- equals() to compare equality, it will be compared as QString, in qmake everything is QString


GitHub Actions confusions:
--------------------------

- matrix include/exclude with objects:

I finally got it, I always used arrays in include/exclude and this is wrong, it must be object

matrix:
lto: [ ON, OFF ]
drivers-type: [ Shared, Loadable, Static ]
build-type:
- key: debug
name: Debug
- key: release
name: Release
exclude|include:
- lto: ON
drivers-type: Static
build-type:
key: release
name: Release

So it must be object and NOT array of object:
build-type:
key: release
name: Release

Or:
build-type: { key: release, name: Release }

Previous BAD definition I tried in include/exclude:
exclude:
- lto: ON
drivers-type: Static
build-type:
- key: release
name: Release


tools/deploy.ps1:
-----------------

Expand Down Expand Up @@ -3326,3 +3365,11 @@ Optimize PCH #include-s:
Get-ChildItem -Recurse .\include\orm\*.hpp,.\src\orm\*.cpp | Select-String -Pattern '# *include <.*>' -Raw | ForEach-Object { $_ -creplace '(?:# *|(>) *// *(.*)$)', '$1' } | Sort-Object -Unique -CaseSensitive
Get-ChildItem -Recurse .\drivers\common\*.hpp,.\drivers\common\*.cpp | Select-String -Pattern '# +include <.*>' -Raw | ForEach-Object { $_ -creplace '(?:# *|(>) *// *(.*)$)', '$1' } | Sort-Object -Unique -CaseSensitive
Get-ChildItem -Recurse .\drivers\mysql\*.hpp,.\drivers\mysql\*.cpp | Select-String -Pattern '# +include <.*>' -Raw | ForEach-Object { $_ -creplace '(?:# *|(>) *// *(.*)$)', '$1' } | Sort-Object -Unique -CaseSensitive


Link Time Optimization (LTO):
-----------------------------

- works on Windows: msvc, clang-cl with lld linker
- works on Linux: g++ with bfd, clang with lld linker
- doesn't work on MSYS2: clang++/g++ with lld/bfd linker

0 comments on commit 5534c3a

Please sign in to comment.