Skip to content

Instantly share code, notes, and snippets.

@richardiux
Last active November 29, 2017 13:25
Show Gist options
  • Select an option

  • Save richardiux/10227114 to your computer and use it in GitHub Desktop.

Select an option

Save richardiux/10227114 to your computer and use it in GitHub Desktop.

Revisions

  1. richardiux revised this gist Apr 9, 2014. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions output
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [~]# go get github.com/rainycape/magick
    # github.com/rainycape/magick
    gocode/src/github.com/rainycape/magick/color_im.go:5: undefined: Image
    gocode/src/github.com/rainycape/magick/color_im.go:5: undefined: Histogram
    gocode/src/github.com/rainycape/magick/color_im.go:6: undefined: notImplementedError
    gocode/src/github.com/rainycape/magick/gen_strings.go:9: undefined: Colorspace
    gocode/src/github.com/rainycape/magick/gen_strings.go:11: undefined: CMYK
    gocode/src/github.com/rainycape/magick/gen_strings.go:50: undefined: Composite
    gocode/src/github.com/rainycape/magick/gen_strings.go:195: undefined: Filter
    gocode/src/github.com/rainycape/magick/operator.go:38: undefined: Image
    gocode/src/github.com/rainycape/magick/operator.go:47: undefined: Image
    gocode/src/github.com/rainycape/magick/operator.go:47: undefined: Channel
    gocode/src/github.com/rainycape/magick/gen_strings.go:11: too many errors
  2. richardiux revised this gist Apr 9, 2014. 1 changed file with 413 additions and 0 deletions.
    413 changes: 413 additions & 0 deletions go compilation output
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,413 @@
    [~/go/src]# ./all.bash
    # Building C bootstrap tool.
    cmd/dist

    # Building compilers and Go bootstrap tool for host, solaris/amd64.
    lib9
    libbio
    libmach
    liblink
    misc/pprof
    cmd/objdump
    cmd/prof
    cmd/cc
    cmd/gc
    cmd/6l
    cmd/6a
    cmd/6c
    cmd/6g
    pkg/runtime
    pkg/errors
    pkg/sync/atomic
    pkg/sync
    pkg/io
    pkg/unicode
    pkg/unicode/utf8
    pkg/unicode/utf16
    pkg/bytes
    pkg/math
    pkg/strings
    pkg/strconv
    pkg/bufio
    pkg/sort
    pkg/container/heap
    pkg/encoding/base64
    pkg/syscall
    pkg/time
    pkg/os
    pkg/reflect
    pkg/fmt
    pkg/encoding
    pkg/encoding/json
    pkg/flag
    pkg/path/filepath
    pkg/path
    pkg/io/ioutil
    pkg/log
    pkg/regexp/syntax
    pkg/regexp
    pkg/go/token
    pkg/go/scanner
    pkg/go/ast
    pkg/go/parser
    pkg/os/exec
    pkg/os/signal
    pkg/net/url
    pkg/text/template/parse
    pkg/text/template
    pkg/go/doc
    pkg/go/build
    cmd/go

    # Building packages and commands for solaris/amd64.
    runtime
    errors
    sync/atomic
    sync
    io
    unicode
    unicode/utf8
    bytes
    bufio
    math
    strconv
    reflect
    encoding/binary
    syscall
    time
    os
    fmt
    debug/dwarf
    debug/elf
    strings
    debug/gosym
    debug/macho
    debug/pe
    sort
    flag
    log
    cmd/addr2line
    hash
    crypto
    crypto/md5
    go/token
    path/filepath
    go/scanner
    go/ast
    io/ioutil
    go/parser
    text/tabwriter
    go/printer
    os/exec
    cmd/cgo
    go/format
    path
    cmd/fix
    container/heap
    encoding
    encoding/base64
    unicode/utf16
    encoding/json
    encoding/xml
    regexp/syntax
    regexp
    net/url
    text/template/parse
    text/template
    go/doc
    go/build
    compress/flate
    hash/crc32
    compress/gzip
    container/list
    crypto/subtle
    crypto/cipher
    crypto/aes
    crypto/des
    math/rand
    math/big
    crypto/elliptic
    crypto/ecdsa
    crypto/hmac
    crypto/rand
    crypto/rc4
    crypto/rsa
    crypto/sha1
    crypto/sha256
    crypto/dsa
    encoding/asn1
    crypto/x509/pkix
    encoding/hex
    encoding/pem
    net
    crypto/x509
    crypto/tls
    mime
    net/textproto
    mime/multipart
    net/http
    os/signal
    cmd/go
    runtime/pprof
    cmd/gofmt
    debug/goobj
    cmd/link
    debug/plan9obj
    cmd/nm
    cmd/pack
    cmd/yacc
    archive/tar
    archive/zip
    compress/bzip2
    compress/lzw
    hash/adler32
    compress/zlib
    container/ring
    crypto/sha512
    database/sql/driver
    database/sql
    encoding/ascii85
    encoding/base32
    encoding/csv
    encoding/gob
    expvar
    hash/crc64
    hash/fnv
    html
    html/template
    image/color
    image
    image/color/palette
    image/draw
    image/gif
    image/jpeg
    image/png
    index/suffixarray
    log/syslog
    math/cmplx
    net/http/cgi
    net/http/cookiejar
    net/http/fcgi
    net/http/httptest
    net/http/httputil
    net/http/pprof
    net/mail
    net/rpc
    net/rpc/jsonrpc
    net/smtp
    os/user
    runtime/debug
    runtime/race
    testing
    testing/iotest
    testing/quick
    text/scanner

    # Testing packages.
    ? cmd/addr2line [no test files]
    ? cmd/cgo [no test files]
    ok cmd/fix 0.014s
    ok cmd/go 0.013s
    ok cmd/gofmt 0.026s
    ok cmd/link 0.017s
    ? cmd/nm [no test files]
    ok cmd/pack 0.366s
    ? cmd/yacc [no test files]
    ok archive/tar 0.011s
    ok archive/zip 0.287s
    ok bufio 0.065s
    ok bytes 0.080s
    ok compress/bzip2 0.067s
    ok compress/flate 0.353s
    ok compress/gzip 0.014s
    ok compress/lzw 0.056s
    ok compress/zlib 0.775s
    ok container/heap 0.007s
    ok container/list 0.007s
    ok container/ring 0.015s
    ? crypto [no test files]
    ok crypto/aes 0.025s
    ok crypto/cipher 0.008s
    ok crypto/des 0.013s
    ok crypto/dsa 0.009s
    ok crypto/ecdsa 0.017s
    ok crypto/elliptic 0.035s
    ok crypto/hmac 0.007s
    ok crypto/md5 0.014s
    ok crypto/rand 0.019s
    ok crypto/rc4 0.082s
    ok crypto/rsa 0.138s
    ok crypto/sha1 0.008s
    ok crypto/sha256 0.008s
    ok crypto/sha512 0.007s
    ok crypto/subtle 0.009s
    ok crypto/tls 0.644s
    ok crypto/x509 0.798s
    ? crypto/x509/pkix [no test files]
    ok database/sql 0.021s
    ok database/sql/driver 0.009s
    ok debug/dwarf 0.011s
    ok debug/elf 0.013s
    ok debug/goobj 0.007s
    ok debug/gosym 0.076s
    ok debug/macho 0.009s
    ok debug/pe 0.010s
    ok debug/plan9obj 0.007s
    ? encoding [no test files]
    ok encoding/ascii85 0.009s
    ok encoding/asn1 0.009s
    ok encoding/base32 0.008s
    ok encoding/base64 0.008s
    ok encoding/binary 0.008s
    ok encoding/csv 0.007s
    ok encoding/gob 0.033s
    ok encoding/hex 0.007s
    ok encoding/json 0.125s
    ok encoding/pem 0.008s
    ok encoding/xml 0.014s
    ok errors 0.007s
    ok expvar 0.009s
    ok flag 0.008s
    ok fmt 0.030s
    ok go/ast 0.009s
    ok go/build 0.076s
    ok go/doc 0.035s
    ok go/format 0.012s
    ok go/parser 0.028s
    ok go/printer 0.175s
    ok go/scanner 0.009s
    ok go/token 0.024s
    ? hash [no test files]
    ok hash/adler32 0.013s
    ok hash/crc32 0.007s
    ok hash/crc64 0.007s
    ok hash/fnv 0.007s
    ok html 0.008s
    ok html/template 0.028s
    ok image 0.048s
    ok image/color 0.010s
    ? image/color/palette [no test files]
    ok image/draw 0.042s
    ok image/gif 0.039s
    ok image/jpeg 0.101s
    ok image/png 0.026s
    ok index/suffixarray 0.011s
    ok io 0.026s
    ok io/ioutil 0.007s
    ok log 0.009s
    ok log/syslog 2.030s
    ok math 0.009s
    ok math/big 0.134s
    ok math/cmplx 0.008s
    ok math/rand 0.194s
    ok mime 0.008s
    ok mime/multipart 0.191s
    ok net 2.892s
    ok net/http 3.144s
    ok net/http/cgi 0.353s
    ok net/http/cookiejar 0.010s
    ok net/http/fcgi 0.009s
    ok net/http/httptest 0.012s
    ok net/http/httputil 0.014s
    ? net/http/pprof [no test files]
    ok net/mail 0.008s
    ok net/rpc 0.015s
    ok net/rpc/jsonrpc 0.010s
    ok net/smtp 0.024s
    ok net/textproto 0.008s
    ok net/url 0.007s
    ok os 0.422s
    ok os/exec 0.229s
    ok os/signal 0.431s
    ok os/user 0.007s
    ok path 0.007s
    ok path/filepath 0.017s
    ok reflect 0.063s
    ok regexp 0.067s
    ok regexp/syntax 0.365s
    ok runtime 6.148s
    ok runtime/debug 0.009s
    ok runtime/pprof 7.140s
    ? runtime/race [no test files]
    ok sort 0.059s
    ok strconv 0.187s
    ok strings 0.092s
    ok sync 0.041s
    ok sync/atomic 0.022s
    ok syscall 0.008s
    ok testing 2.630s
    ? testing/iotest [no test files]
    ok testing/quick 0.022s
    ok text/scanner 0.008s
    ok text/tabwriter 0.008s
    ok text/template 0.027s
    ok text/template/parse 0.011s
    ok time 2.396s
    ok unicode 0.008s
    ok unicode/utf16 0.008s
    ok unicode/utf8 0.008s
    ? unsafe [no test files]

    real 1m42.932s
    user 1m11.826s
    sys 0m16.661s

    # GOMAXPROCS=2 runtime -cpu=1,2,4
    ok runtime 18.622s

    # sync -cpu=10
    ok sync 0.049s

    # ../doc/progs

    real 0m8.754s
    user 0m6.200s
    sys 0m1.907s

    # ../doc/articles/wiki
    PASS

    # ../doc/codewalk

    real 0m1.517s
    user 0m1.203s
    sys 0m0.245s

    # ../misc/goplay

    # ../test/bench/shootout
    fasta
    reverse-complement
    nbody
    binary-tree
    binary-tree-freelist
    fannkuch
    fannkuch-parallel
    regex-dna
    regex-dna-parallel
    spectral-norm
    k-nucleotide
    k-nucleotide-parallel
    mandelbrot
    meteor-contest
    pidigits
    threadring
    chameneosredux

    real 0m6.817s
    user 0m5.139s
    sys 0m1.315s

    # ../test/bench/go1
    ok _/root/go/test/bench/go1 2.229s

    # ../test

    real 1m50.831s
    user 1m0.458s
    sys 0m43.339s

    # Checking API compatibility.
    Error getting current user: user: Current not implemented on solaris/amd64
    exit status 1
    [~/go/src]#
  3. richardiux renamed this gist Apr 9, 2014. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. richardiux created this gist Apr 9, 2014.
    12 changes: 12 additions & 0 deletions dependencies
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    pkgin -y install git mercurial gcc47 gmake giflib-5.0.5 ImageMagick-6.8.7.4

    export GOROOT=$HOME/go
    export PATH=$PATH:$GOROOT/bin
    export GOPATH=$HOME/gocode

    cd
    hg clone -u release https://code.google.com/p/go
    cd go
    hg update default
    cd src
    ./all.bash