| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
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
|
|
|
|
Pass the temp bat / test binary via the *v variants of os.run / iorun /
vrun so os.argv does not split the path on whitespace.
|
|
fix cl exception
|
|
|
|
|
|
fix path does not have the isdir API
|
|
|
|
|
|
fix xpack/deb/srpm
|
|
|
|
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 qt cross
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- Switch from target:orderdeps() to target:get('deps') to show only
direct dependencies declared via add_deps(), not transitive ones
- Print output now shows all fields: root targets, name, kind, group,
default, and deps — matching the JSON structure
- Add kind assertion to test
|
|
|
|
local functions, and use simpler test env
|
|
Add a graph-oriented mode to `xmake show` for exporting target\ndependency relationships as JSON.\n\nThis adds `--target_graph` support for whole-project output and\noptional root-target filtering with `--target`.\n\nAdd a plugin test covering full-graph and single-target graph export.\n\nRefs #7475
|
|
Add xrepo info --depgraph
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Detect targets whose source kinds are entirely "cs" and emit a .csproj
|