intel / intel/linux-npu-driver

[BUILD ERROR]: v1.32.1 flake patches removed vpux_elf.cmake

Open
#135 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
458
Forks
54
Avg merge
1d 3h
Merged PRs (30d)
3

Description

## Summary

The official Nix flake for `v1.32.1` fails during `patchPhase` because it still patches the old `third_party/cmake/vpux_elf.cmake` path, but the release source tree now uses `third_party/cmake/npu_compiler_elf.cmake` and `third_party/npu_compiler_elf`.

## Reproduction

```sh
nix build github:intel/linux-npu-driver/v1.32.1 --print-build-logs
```

## Actual result

```text
intel-npu-driver> Running phase: patchPhase
intel-npu-driver> substitute(): ERROR: file `third_party/cmake/vpux_elf.cmake` does not exist
error: Cannot build `/nix/store/...-intel-npu-driver.drv`.
Reason: builder failed with exit code 1.
```

## Expected result

The flake should build the `v1.32.1` driver package, or patch the current `npu_compiler_elf` CMake path instead of the removed `vpux_elf` path.

## Notes

The `v1.32.1` release PR changed compiler/submodule-related paths, but `flake.nix` does not appear to have been updated in the same PR:

- Release PR: https://github.com/intel/linux-npu-driver/pull/132
- Current flake still references `third_party/cmake/vpux_elf.cmake`

The repository tree at `v1.32.1` contains:

```text
third_party/cmake/npu_compiler_elf.cmake
third_party/npu_compiler_elf
```

and not `third_party/cmake/vpux_elf.cmake`.

## Environment

- OS: NixOS x86_64-linux
- Kernel: 6.18.28
- Nix: 2.34.7
- Flake ref: `github:intel/linux-npu-driver/v1.32.1`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.