Can compactindex be built for non-unix platforms?
gagliardetto opened this issue · 3 comments
gagliardetto commented
Right now, compactindex
only compiles to unix-like OSs:
radiance/pkg/compactindex/build.go
Line 1 in 4be17ec
Are there any particular issues when compiling to windows?
ripatel-fd commented
@gagliardetto Thanks for pointing this out. compactindex
is fully portable to any target that supports Go 1.19, not just Unix. That build constraint was added because of the use of fallocate
. But the code now contains a generic fallocate
for non-Linux targets, so this line can be removed. Would you mind PRing a removal of this build constraint? Many thanks
gagliardetto commented
opened #121
gagliardetto commented
Thanks!