summaryrefslogtreecommitdiff
path: root/xmake/rules
AgeCommit message (Collapse)Author
2026-05-24fix: restore -flto=thin for clang-cl (regression from #7525)DavidWang19
2026-05-14improve merge archive from packagesruki
2026-05-14feat: include packages in "build.merge_archive"gibbz00
2026-05-11Merge pull request #7535 from xmake-io/ascendruki
Add Huawei Ascend C toolchain support
2026-05-09improve ascend rulesruki
2026-05-04Fix lto with zig cc and clang_clTiangang Song
2026-05-04feat(ascendc): add Huawei Ascend C toolchain supportwuzhenqing
Add toolchain, language, rules, and compiler modules for the bisheng compiler driver from CANN (Compute Architecture for Neural Networks) toolkit. Supports .asc (Ascend C kernel) and .aicpu (AI-CPU operator) source kinds with binary/static/shared target types. - Toolchain: SDK auto-detection via ASCEND_HOME_PATH env or --sdk - Compiler: bisheng module inherits from clang, adds add_sourceflags for explicit sourcekind overrides - Rules: ascendc.env (default C++17), npuarchs (--npu-arch), build - Language: check_main detection, add_ascnpuarchs API - Tests: unit tests for check_main, project tests for libs/mixed Fixes #7506
2026-04-24Merge pull request #7501 from ririyeye/fix/5721-linux-module-modpostruki
fix linux module intermediate filenames
2026-04-24fix rust buildrustruki
2026-04-23fix linux module intermediate filenamesririyeye
Generate linux module intermediate files from the target basename instead of the final .ko path so modpost reads hello.o rather than hello.ko.o. This avoids the bogus *.ko.ko module name and undefined symbol warnings reported in #5721. Made-with: Cursor
2026-04-23fix linux driver final review issueririyeye
Drop the redundant newline normalization in kernel config checks because io.readfile() already returns newline-split content suitable for line-based matching. Made-with: Cursor
2026-04-23fix linux driver review follow-upsririyeye
Use target:is_cross() for kbuild probing, normalize module-common paths before comparing them, and check kernel configs line by line for clearer exact matches. Made-with: Cursor
2026-04-23fix linux driver cross compile detectionririyeye
Pass ARCH and CROSS_COMPILE for same-platform cross builds and derive the toolchain prefix from versioned gcc names so kbuild flag probing uses the correct target tools. Made-with: Cursor
2026-04-23fix linux module review follow-upsririyeye
Tighten kernel config detection to avoid prefix matches and share module-common.c lookup so dependency tracking and compilation stay aligned. Made-with: Cursor
2026-04-22fix linux module builds on kernel 6.12+ririyeye
Keep xmake's linux module rule aligned with modern kbuild so generated .ko files retain vermagic and modversion metadata required for loading on newer kernels.
2026-04-20fix qt crosswzshun
2026-04-08Merge pull request #7449 from Akaps316/codex/fix-modules-private-dep-bmisruki
fix(c++/modules): avoid leaking private dep flags to rebuilt BMIs
2026-04-07Improve error handling in scanner.luaruki
Refactor assertions for better error handling and clarity.
2026-04-05fix(xcode.application): resolve merge conflict with upstream devAkaps316
2026-04-05fix(xcode.application): resolve merge conflict with upstream dev - add rpath ↵Akaps316
duplicate guard Co-authored-by: Qwen-Coder <[email protected]>
2026-04-05Merge pull request #7455 from Akaps316/codex/fix-xcode-app-duplicate-rpathruki
fix(xcode.application): avoid duplicate bundle rpath insertion
2026-04-04fix(xcode.application): configure dynamic rpath logic and update test env varsAkaps316
2026-04-04fix(xcode.application): use the correct framework rpath for iOS appsAkaps316
Use @executable_path/Frameworks for iphoneos application bundles when embedding dependent frameworks. The existing @executable_path/../Frameworks rpath is correct for macOS app layout, but incorrect for iOS where the executable lives directly in MyApp.app and embedded frameworks live in MyApp.app/Frameworks. Add a regression test that builds an iOS simulator app with an embedded framework and verifies the generated LC_RPATH.
2026-04-04Merge pull request #7435 from Shiffted/improve_module_errorsruki
improve module errors
2026-04-03fix(xcode.application): avoid duplicate bundle rpath insertionAkaps316
Only add the macOS app bundle framework rpath if it is missing from the copied app binary. This avoids install_name_tool failing when the target already links with @executable_path/../Frameworks, for example via add_rpathdirs(). Add a regression test covering a macOS app target that already carries the bundle rpath before xcode.application generates the app bundle.
2026-04-03fix(c++/modules): avoid leaking private dep flags to rebuilt BMIsAkaps316
Only inherit interface-visible defines/undefines/includedirs when collecting module fileconfigs from dependency targets. This fixes consumer-side BMI rebuilds under build.c++.modules.reuse.strict picking up private producer flags. Add a regression test for strict module reuse with a shared dependency.
2026-04-01Merge pull request #7437 from xmake-io/lua55ruki
update to lua5.5
2026-04-01improve utils.replace to support functionruki
2026-04-01fix includedir for project generatorruki
2026-04-01improve utils.replaceruki
2026-04-01add utils.replace rulesruki
2026-03-29improve const limit codesruki
2026-03-29fix const limit on lua5.5ruki
2026-03-29handle missing moduleinfoShiffted
2026-03-29improve module errorsShiffted
2026-03-23fix some typosruki
2026-03-23fixchooyy
2026-03-22use bin2obj in xmake.cliruki
2026-03-22fix xmake.cliruki
2026-03-20remove native_aotruki
2026-03-20fix csharp aotruki
2026-03-20fix windows issuesruki
2026-03-19add native aotruki
2026-03-19csharp call c++ libraryruki
2026-03-18fix file nameruki
2026-03-17fix build csharp for macosruki
2026-03-17rename filesruki
2026-03-17fix publish csharpruki
2026-03-17install csharp targetruki
2026-03-17improve get default target frameworkruki