Skip to content

BTFS Shared library v2.3.1

Compare
Choose a tag to compare
@simbadMarino simbadMarino released this 07 Jun 22:18
· 21 commits to main since this release
bc9eb52

Base code was forked from: https://github.com/bittorrent/go-btfs/releases/tag/btfs-v2.3.1

Additional changes:

  • Android compiling issues resolved at Make file level

  • gopsutil version update

  • karalabe go.mod versions updated to support disk operations

  • Changes from go-btfs go.mod (pending to do a pull request in go-btfs repo):

  • From github.com/shirou/gopsutil/v3 v3.20.12 —> github.com/shirou/gopsutil/v3 v3.22.11 (Still issues)

  • From github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible —> github.com/shirou/gopsutil v3.21.11+incompatible (Still issues)

  • From github.com/karalabe/usb v0.0.0-20190919080040-51dc0efba356 —> github.com/karalabe/usb v0.0.2

  • Additional for gosigar package (iOS SDK does not contain libproc.h thus we need to manually change in sigar_common_darwin):

  • /*
    #cgo CFLAGS: -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include
    #include <stdlib.h>
    #include <sys/sysctl.h>
    #include <sys/mount.h>
    #include <mach/mach_init.h>
    #include <mach/mach_host.h>
    #include <mach/host_info.h>
    #include <libproc.h>
    #include <mach/processor_info.h>
    #include <mach/vm_map.h>
    */

If issues are observed during gopsutil compilation on iOS please check: shirou/gopsutil#1402 (comment)