mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1855] [MERGED] Windows compilation support #2213
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2213
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1855
Author: @siketyan
Created: 1/12/2022
Status: ✅ Merged
Merged: 1/23/2022
Merged by: @gaul
Base:
master← Head:master📝 Commits (10+)
e6bf995Add polyfills for MSYS2 environmentf5d7afdUse polyfills in MSYS2 environmentca8fcc1Disable features that causes problems on Windows59e67e5Runautoupdate1bb6740Ignore .exe files3829132Add instructions for Windows compilationbbdd314Fix the statfs issue, using f_frsize insteadc5679e7Revert "Runautoupdate"752e414Use std::get_time instead in strptime polyfilla462723Remove duplicates in .gitignore📊 Changes
5 files changed (+110 additions, -1 deletions)
View changed files
📝
.gitignore(+9 -0)📝
COMPILATION.md(+55 -0)📝
src/s3fs.cpp(+22 -1)📝
src/string_util.cpp(+18 -0)📝
src/string_util.h(+6 -0)📄 Description
Relevant Issue (if applicable)
Closes #728
Details
Added support to compile s3fs-fuse on/for Windows.
It requires MSYS2 environment.
To complete the compilation, it was needed to put polyfills for functions that do not exist in MSYS2.
This pull request also adds the polyfills tho.
Confirmed that works:
.\s3fs.exe [bucket] "S:" -f -o uid=-1 -o gid=-1 -o umask=0000 -o mp_umask=0000)Known issues:
/home/$USER/.aws/credentials, which does not exist on WindowsThis pull request does not propose full support for Windows.
This is just a initial experiment to port this project to Windows, a not *nix operating system.
Note that the changes will not break any backward compatibility on *nix platforms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.