mirror of https://github.com/tidwall/tile38.git
Merge pull request #402 from tidwall/Adding-ARM-and-ARM64-packages
Adding ARM and ARM64 packages
This commit is contained in:
commit
8d73d4409d
|
@ -231,19 +231,19 @@
|
||||||
revision = "b67b1b8c1658cb01502801c14e33c61e6c4cbb95"
|
revision = "b67b1b8c1658cb01502801c14e33c61e6c4cbb95"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
digest = "1:1f7026c4840ae2a06e892ffcad5a36416de0a7e5be33ce65449435fd8f15414b"
|
digest = "1:91acf4d86b348c1f1832336836035373b047ffcb16a0fde066bd531bbe3452b2"
|
||||||
name = "github.com/tidwall/evio"
|
name = "github.com/tidwall/evio"
|
||||||
packages = [
|
packages = [
|
||||||
".",
|
".",
|
||||||
"internal",
|
"internal",
|
||||||
]
|
]
|
||||||
pruneopts = ""
|
pruneopts = ""
|
||||||
revision = "ea610eff86981249be649bbdcedbf409a2db2173"
|
revision = "b353be3a765785dafabbb63a7b25aadec3533946"
|
||||||
version = "v1.0.1"
|
version = "v1.0.2"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
digest = "1:24cb019229d3a4d0febd3934800b3759df35c722e93d63d9cfe32015d7abfec3"
|
digest = "1:0a6da4a08925415ab3326e140985ec628417903637461e9b68c07a03dfcc918d"
|
||||||
name = "github.com/tidwall/geojson"
|
name = "github.com/tidwall/geojson"
|
||||||
packages = [
|
packages = [
|
||||||
".",
|
".",
|
||||||
|
@ -251,7 +251,7 @@
|
||||||
"geometry",
|
"geometry",
|
||||||
]
|
]
|
||||||
pruneopts = ""
|
pruneopts = ""
|
||||||
revision = "ade1bcf7b6db0e5ffb0605fea152254d2c002d6a"
|
revision = "d0a98d02b48e887b4de454d80c61ef5fb9312482"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
digest = "1:3ddca2bd5496c6922a2a9e636530e178a43c2a534ea6634211acdc7d10222794"
|
digest = "1:3ddca2bd5496c6922a2a9e636530e178a43c2a534ea6634211acdc7d10222794"
|
||||||
|
@ -472,6 +472,7 @@
|
||||||
"github.com/tidwall/gjson",
|
"github.com/tidwall/gjson",
|
||||||
"github.com/tidwall/lotsa",
|
"github.com/tidwall/lotsa",
|
||||||
"github.com/tidwall/match",
|
"github.com/tidwall/match",
|
||||||
|
"github.com/tidwall/pretty",
|
||||||
"github.com/tidwall/redbench",
|
"github.com/tidwall/redbench",
|
||||||
"github.com/tidwall/redcon",
|
"github.com/tidwall/redcon",
|
||||||
"github.com/tidwall/resp",
|
"github.com/tidwall/resp",
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -142,6 +142,8 @@ if [ "$1" == "package" ]; then
|
||||||
package "Mac" "darwin" "amd64"
|
package "Mac" "darwin" "amd64"
|
||||||
package "Linux" "linux" "amd64"
|
package "Linux" "linux" "amd64"
|
||||||
package "FreeBSD" "freebsd" "amd64"
|
package "FreeBSD" "freebsd" "amd64"
|
||||||
|
package "ARM" "linux" "arm"
|
||||||
|
package "ARM64" "linux" "arm64"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ func OpenPoll() *Poll {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
l.fd = p
|
l.fd = p
|
||||||
r0, _, e0 := syscall.Syscall(syscall.SYS_EVENTFD, 0, 0, 0)
|
r0, _, e0 := syscall.Syscall(syscall.SYS_EVENTFD2, 0, 0, 0)
|
||||||
if e0 != 0 {
|
if e0 != 0 {
|
||||||
syscall.Close(p)
|
syscall.Close(p)
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|
|
@ -191,8 +191,8 @@ func (series *baseSeries) Search(
|
||||||
// convert the byte pointer back to a valid slice
|
// convert the byte pointer back to a valid slice
|
||||||
data := *(*[]byte)(unsafe.Pointer(&reflect.SliceHeader{
|
data := *(*[]byte)(unsafe.Pointer(&reflect.SliceHeader{
|
||||||
Data: uintptr(unsafe.Pointer(v)),
|
Data: uintptr(unsafe.Pointer(v)),
|
||||||
Len: 0xFFFFFFFF,
|
Len: int((^uint(0)) >> 1),
|
||||||
Cap: 0xFFFFFFFF,
|
Cap: int((^uint(0)) >> 1),
|
||||||
}))
|
}))
|
||||||
n := binary.LittleEndian.Uint32(data[1:])
|
n := binary.LittleEndian.Uint32(data[1:])
|
||||||
data = data[:n:n]
|
data = data[:n:n]
|
||||||
|
|
Loading…
Reference in New Issue