Skip to content

Generic CPU installation code#5

Merged
janpfeifer merged 37 commits into
mainfrom
platforms
Dec 17, 2025
Merged

Generic CPU installation code#5
janpfeifer merged 37 commits into
mainfrom
platforms

Conversation

@janpfeifer

Copy link
Copy Markdown
Contributor

And added support for linux/arm64 and windows/amd64.

janpfeifer and others added 30 commits December 17, 2025 09:31
- Added `Unzip` function to `pkg/installer/download.go` to handle zip extraction.
- Updated `pkg/installer/cpu.go` to use `Unzip` when the downloaded file is a `.zip`.
- Updated `extractZipFile` to respect file permissions from zip entries.
- Added support for Windows `.dll` plugin files (already present, verified via code inspection).
…ssh://github.com/gomlx/go-xla into platforms
This change enables dynamic loading of PJRT plugins on Windows.
- Created `pkg/pjrt/dynamiclib_windows.go` to implement DLL loading using `syscall.LoadLibrary` and `syscall.GetProcAddress`.
- Updated `pkg/pjrt/dynamiclib_base.go` to support `.dll` extensions and Windows path separators in plugin search patterns.
- Set default Windows plugin path to `%LOCALAPPDATA%\go-xla`.
@janpfeifer
janpfeifer merged commit e2a05a4 into main Dec 17, 2025
5 checks passed
@janpfeifer
janpfeifer deleted the platforms branch March 10, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant