Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
ce22b83f
Unverified
Commit
ce22b83f
authored
Dec 16, 2017
by
Whyrusleeping
Committed by
GitHub
Dec 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4464 from ipfs/gx/update-badger
badger: Update to fix i386 windows build
parents
73170e55
ddcf5ad9
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
9 deletions
+10
-9
cmd/ipfs/Rules.mk
cmd/ipfs/Rules.mk
+4
-4
mk/golang.mk
mk/golang.mk
+2
-1
mk/util.mk
mk/util.mk
+1
-1
package.json
package.json
+2
-2
repo/fsrepo/datastores.go
repo/fsrepo/datastores.go
+1
-1
No files found.
cmd/ipfs/Rules.mk
View file @
ce22b83f
...
...
@@ -2,7 +2,7 @@ include mk/header.mk
IPFS_BIN_$(d)
:=
$(
call
go-curr-pkg-tgt
)
TGT_BIN
+=
$
(
IPFS_BIN_
$(d)
)
TEST
+=
$(d)
-try-build
TEST
_GO_BUILD
+=
$(d)
-try-build
CLEAN
+=
$
(
IPFS_BIN_
$(d)
)
PATH
:=
$(
realpath
$(d)
)
:
$(PATH)
...
...
@@ -25,9 +25,9 @@ TRY_BUILD_$(d)=$(addprefix $(d)-try-build-,$(SUPPORTED_PLATFORMS))
$(d)-try-build
:
$(TRY_BUILD_$(d))
.PHONY
:
$(d)-try-build
$(TRY_BUILD_$(d))
:
private
PLATFORM = $(subst -
,
,
$(patsubst $<-try-build-%
,
%
,
$@))
$(TRY_BUILD_$(d))
:
private
GOOS = $(word 1
,
$(PLATFORM))
$(TRY_BUILD_$(d))
:
private
GOARCH = $(word 2
,
$(PLATFORM))
$(TRY_BUILD_$(d))
:
PLATFORM = $(subst -
,
,
$(patsubst $<-try-build-%
,
%
,
$@))
$(TRY_BUILD_$(d))
:
GOOS = $(word 1
,
$(PLATFORM))
$(TRY_BUILD_$(d))
:
GOARCH = $(word 2
,
$(PLATFORM))
$(TRY_BUILD_$(d))
:
$(d) $$(DEPS_GO) ALWAYS
GOOS
=
$(GOOS)
GOARCH
=
$(GOARCH)
$
(
go-try-build
)
.PHONY
:
$(TRY_BUILD_$(d))
...
...
mk/golang.mk
View file @
ce22b83f
...
...
@@ -9,6 +9,7 @@ GOTFLAGS ?=
DEPS_GO
:=
TEST_GO
:=
TEST_GO_BUILD
:=
CHECK_GO
:=
go-pkg-name
=
$(
shell
$(GOCC)
list
$
(
go-tags
)
github.com/ipfs/go-ipfs/
$(1)
)
...
...
@@ -35,7 +36,7 @@ test_go_race: GOTFLAGS += -race
test_go_race
:
test_go_expensive
.PHONY
:
test_go_race
test_go_expensive
:
$$(DEPS_GO)
test_go_expensive
:
$$(TEST_GO_BUILD)
$$(DEPS_GO)
$(GOCC)
test
$
(
go-flags-with-tags
)
$(GOTFLAGS)
./...
.PHONY
:
test_go_expensive
TEST_GO
+=
test_go_expensive
...
...
mk/util.mk
View file @
ce22b83f
...
...
@@ -9,7 +9,7 @@ else
PATH_SEP :
=
:
endif
#
SUPPORTED_PLATFORM += windows
/
386
FIXME: #4438 (badger bug)
SUPPORTED_PLATFORM
S
+=
windows
-
386
SUPPORTED_PLATFORMS
+=
windows-amd64
SUPPORTED_PLATFORMS
+=
linux-arm
...
...
package.json
View file @
ce22b83f
...
...
@@ -470,9 +470,9 @@
},
{
"author"
:
"magik6k"
,
"hash"
:
"Qm
Phe5Agy6FW8nyFXdphtAVPrmmPFN18pCrtpnRzMWa4Vi
"
,
"hash"
:
"Qm
din8YL17fL1BC5ej6o9b8es6MBoiQjKVdyxEwJh3HVmf
"
,
"name"
:
"go-ds-badger"
,
"version"
:
"1.
2
.0"
"version"
:
"1.
3
.0"
},
{
"author"
:
"whyrusleeping"
,
...
...
repo/fsrepo/datastores.go
View file @
ce22b83f
...
...
@@ -16,9 +16,9 @@ import (
ds
"gx/ipfs/QmdHG8MAuARdGHxx4rPQASLcvhz24fzjSQq7AJRAQEorq5/go-datastore"
mount
"gx/ipfs/QmdHG8MAuARdGHxx4rPQASLcvhz24fzjSQq7AJRAQEorq5/go-datastore/syncmount"
badgerds
"gx/ipfs/QmPhe5Agy6FW8nyFXdphtAVPrmmPFN18pCrtpnRzMWa4Vi/go-ds-badger"
levelds
"gx/ipfs/QmYnCBXxoyoS38vtNQjjpRwZTiUnpuuKpapxMNaDfyQRLf/go-ds-leveldb"
ldbopts
"gx/ipfs/QmbBhyDKsY4mbY6xsKt3qu9Y7FPvMJ6qbD8AMjYYvPRw1g/goleveldb/leveldb/opt"
badgerds
"gx/ipfs/Qmdin8YL17fL1BC5ej6o9b8es6MBoiQjKVdyxEwJh3HVmf/go-ds-badger"
)
// ConfigFromMap creates a new datastore config from a map
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment