| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Add Huawei Ascend C toolchain support
|
|
|
|
|
|
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
|
|
fix linux module intermediate filenames
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
Tighten kernel config detection to avoid prefix matches and share module-common.c lookup so dependency tracking and compilation stay aligned.
Made-with: Cursor
|
|
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.
|
|
|
|
fix(c++/modules): avoid leaking private dep flags to rebuilt BMIs
|
|
Refactor assertions for better error handling and clarity.
|
|
|
|
duplicate guard
Co-authored-by: Qwen-Coder <[email protected]>
|
|
fix(xcode.application): avoid duplicate bundle rpath insertion
|
|
|
|
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.
|
|
improve module errors
|
|
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.
|
|
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.
|
|
update to lua5.5
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|