https://xmake.io/posts/xmake-update-v3.0.6.html
New features
- #7141: Support disabling native app glue for Android
- #7139: Add Android native app build support
- #7127: Add deplibs support in binutils
- #7120: Add extractlib support in binutils
- #7106: Add
/std:c++23previewsupport for MSVC - #7105: Add
bin2objsupport for glsl/hlsl2spv - #7103: Add
bin2objrule (faster thanbin2c) - #7096: Add Flang toolchain support
- #7094: Add
xmake check syntaxsupport - #7091: Add dynamic debugging support for MSVC
- #7083: Add support for CUDA 11~13
- #7071: Add Qt pack support
- #7064: Add AppImage xpack format for Linux application packaging
- #7062: Add dmg xpack format for macOS application packaging
Changes
- #7149: Improve binutils to optimize rpath parsing
- #7148: Update Zig examples
- #7145: Improve Clang/LLVM runtime support
- #7136: Improve clang-cl depfiles generation
- #7135: Improve
xrepo envto add session ID - #7155: Refactor Windows ASan for clang-cl (runtime linking, linker flags, PATH/CMAKE_LINKER_TYPE setup, toolchain streamlining)
- #7109: Improve binutils to read symbols from binary file
- #7102: Improve bin2c rule
- #7098: Refactor and improve Golang support
- #7095: Mark target/package/toolchain:memcache as public
- #7093: Improve mirror repo URL
- #7088: Improve C++/ObjC rules
- #7087: Add type constraint for policy
package.download.http_headers - #7069: Save Qt rules for LLVM toolchain
- #7061: Update CI configuration
- #7039: Update macOS CI
Bugs fixed
- #7132: Fix clang-cl toolchain with ASan
- #7125: Fix cosmocc CI
- #7124: Fix default MSVC runtime for Clang toolchain
- #7112: Fix change directory on Windows
- #7104: Fix prepare for project generators
- #7092: Fix Solaris build
- #7086: Fix targetdir in Qt QML rule
- #7085: Fix CMake flags for Clang toolchain
- #7084: Fix pacman find_package
- #7082: Fix checking Clang CUDA flags
- #7081: Fix
get_headerunit_key - #7074: Fix libc++ cannot find std module
- #7067: Fix get_stdmodules with cross toolchain
新特性
- #7141: 支持禁用 Android 原生应用 glue
- #7139: 添加 Android 原生应用构建支持
- #7127: 为 binutils 添加 deplibs 支持
- #7120: 为 binutils 添加 extractlib 支持
- #7106: 为 MSVC 添加
/std:c++23preview支持 - #7105: 为 glsl/hlsl2spv 添加
bin2obj支持 - #7103: 添加
bin2obj规则(比bin2c更快) - #7096: 添加 Flang 工具链支持
- #7094: 添加
xmake check syntax支持 - #7091: 为 MSVC 添加动态调试支持
- #7083: 添加对 CUDA 11~13 的支持
- #7071: 添加 Qt 打包支持
- #7064: 添加 AppImage xpack 格式用于 Linux 应用程序打包
- #7062: 添加 dmg xpack 格式用于 macOS 应用程序打包
改进
- #7149: 改进 binutils 优化 rpath 解析
- #7148: 更新 Zig 示例
- #7145: 改进 Clang/LLVM 运行时支持
- #7136: 改进 clang-cl 依赖文件生成
- #7135: 改进
xrepo env以添加会话 ID - #7155: 重构 Windows 上 clang-cl 的 ASan 支持(改进运行库链接、链接器标志、完善 PATH/CMAKE_LINKER_TYPE 配置、精简工具链)
- #7109: 改进 binutils 以从二进制文件读取符号
- #7102: 改进 bin2c 规则
- #7098: 重构并改进 Golang 支持
- #7095: 将 target/package/toolchain:memcache 标记为公开
- #7093: 改进镜像仓库 URL
- #7088: 改进 C++/ObjC 规则
- #7087: 为策略
package.download.http_headers添加类型约束 - #7069: 为 LLVM 工具链保存 Qt 规则
- #7061: 更新 CI 配置
- #7039: 更新 macOS CI
Bugs 修复
- #7132: 修复带有 ASan 的 clang-cl 工具链
- #7125: 修复 cosmocc CI
- #7124: 修复 Clang 工具链的默认 MSVC 运行时
- #7112: 修复 Windows 上的目录切换
- #7104: 修复项目生成器的准备工作
- #7092: 修复 Solaris 构建
- #7086: 修复 Qt QML 规则中的 targetdir
- #7085: 修复 Clang 工具链的 CMake 标志
- #7084: 修复 pacman find_package
- #7082: 修复 Clang CUDA 标志检查
- #7081: 修复
get_headerunit_key - #7074: 修复 libc++ 找不到 std 模块
- #7067: 修复交叉编译工具链的 get_stdmodules
What's Changed
- update ci by @waruqi in #7061
- Add dmg xpack format by @waruqi in #7062
- Pack Appimage support by @waruqi in #7064
- (modules) fix get_stdmodules with cross toolchain by @Arthapz in #7067
- Save QT rules for llvm-toolchain by @MaxwellGengYF in #7069
- Add Qt pack support by @waruqi in #7071
- fix
get_headerunit_keyby @Shiffted in #7081 - Add support for cuda 11~13; update templates and examples by @OpportunityLiu in #7083
- fix check clang cuda flags, Fixes #7077 by @OpportunityLiu in #7082
- fix pacman find package by @choyy in #7084
- Fix CMake flags for Clang toolchain by @star-hengxing in #7085
- fix_libc++_cannot_find_stdmodule by @SnowinterCat in #7074
- fix targetdir in qml rule by @waruqi in #7086
- Add type constraint for policy
package.download.http_headersby @Willaaaaaaa in #7087 - Improve c++/objc rules by @waruqi in #7088
- Add dynamic debugging support for msvc by @waruqi in #7091
- Fix solaris build by @waruqi in #7092
- Improve mirror repo url by @waruqi in #7093
- Add
xmake check syntaxsupport by @waruqi in #7094 - mark target/package/toolchain:memcache as public by @waruqi in #7095
- Add Flang support by @waruqi in #7096
- Rewrite golang support by @waruqi in #7098
- improve bin2c by @waruqi in #7102
- Add bin2obj rule, will be faster than bin2c by @waruqi in #7103
- add bin2obj support for glsl/hlsl2spv by @waruqi in #7105
- add
/std:c++23previewsupport for cl by @Bush2021 in #7106 - fix change directory on windows by @waruqi in #7112
- Improve binutils to readsyms from binary file by @waruqi in #7109
- update macos ci by @waruqi in #7039
- Fix prepare for project generators by @Shiffted in #7104
- Fix default msvc runtime for clang toolchain by @star-hengxing in #7124
- Add extractlib support in binutils by @waruqi in #7120
- Fix clang-cl toolchain with asan by @star-hengxing in #7132
- Add deplibs in binutils by @waruqi in #7127
- fix cosmocc ci by @waruqi in #7125
- Improve
xrepo envto add session id by @waruqi in #7135 - improve clang-cl depfiles #7070 by @waruqi in #7136
- Add android native app support by @waruqi in #7139
- add conf to disable native app glue by @waruqi in #7141
- Improve clang runtime by @waruqi in #7145
- Fix runtimes by @waruqi in #7146
- get.sh: support dnf by @black-desk in #6847
- update zig examples by @waruqi in #7148
- Add rpath in binutils by @waruqi in #7149
- Fix clang runtimes and improve toolchains by @waruqi in #7152
- improve clang target flags by @waruqi in #7153
- Clean rpath in binutils by @waruqi in #7151
- remove load deprecated xmake.lua in repository rootdir by @waruqi in #7160
- Refactor windows asan by @star-hengxing in #7155
- Improve clang envs by @waruqi in #7163
- fix cross toolchain on linux by @waruqi in #7167
- fix envs for clang-cl by @waruqi in #7164
- Add parallel pack by @waruqi in #7171
- Add more json output for
xmake showby @waruqi in #7173 - prepare test targets in compile_commands by @waruqi in #7172
New Contributors
- @SnowinterCat made their first contribution in #7074
- @Willaaaaaaa made their first contribution in #7087
- @Bush2021 made their first contribution in #7106
- @black-desk made their first contribution in #6847
Full Changelog: v3.0.5...v3.0.6