good morning!!!!

Skip to content
Snippets Groups Projects
  1. May 04, 2021
    • Felix Lange's avatar
      build: improve cross compilation setup (#22804) · effaf185
      Felix Lange authored
      This PR cleans up the CI build system and fixes a couple of issues.
      
      - The go tool launcher code has been moved to internal/build. With the new
        toolchain functions, the environment of the host Go (i.e. the one that built
        ci.go) and the target Go (i.e. the toolchain downloaded by -dlgo) are isolated
        more strictly. This is important to make cross compilation and -dlgo work
        correctly in more cases.
      - The -dlgo option now skips the download and uses the host Go if the running Go
        version matches dlgoVersion exactly.
      - The 'test' command now supports -dlgo, -cc and -arch. Running unit tests with
        foreign GOARCH is occasionally useful. For example, it can be used to run
        32-bit tests on Windows. It can also be used to run darwin/amd64 tests on
        darwin/arm64 using Rosetta 2.
      - The 'aar', 'xcode' and 'xgo' commands now use a slightly different method to
        install external tools. They previously used `go get`, but this comes with the
        annoying side effect of modifying go.mod. They now use `go install` instead,
        which is the recommended way of installing tools without modifying the local
        module.
      - The old build warning about outdated Go version has been removed because we're
        much better at keeping backwards compatibility now.
  2. Sep 28, 2020
  3. Jan 14, 2020
    • Felix Lange's avatar
      build: remove env.sh (#20541) · feda78e0
      Felix Lange authored
      * build: remove env.sh
      
      This removes the dirty symlink-to-self hack we've had for years. The
      script was added to enable building without GOPATH and did that job
      reliably for all this time. We can remove the workaround because modern
      Go supports building without GOPATH natively.
      
      * Makefile: add GO111MODULE=on to environment
      feda78e0
  4. Nov 21, 2019
  5. Sep 11, 2019
    • Felix Lange's avatar
      all: make unit tests work with Go 1.13 (#20053) · 39b0b1a1
      Felix Lange authored
      Most of these changes are related to the Go 1.13 changes to test binary
      flag handling. 
      
      * cmd/geth: make attach tests more reliable
      
      This makes the test wait for the endpoint to come up by polling
      it instead of waiting for two seconds.
      
      * tests: fix test binary flags for Go 1.13
      
      Calling flag.Parse during package initialization is prohibited
      as of Go 1.13 and causes test failures. Call it in TestMain instead.
      
      * crypto/ecies: remove useless -dump flag in tests
      
      * p2p/simulations: fix test binary flags for Go 1.13
      
      Calling flag.Parse during package initialization is prohibited
      as of Go 1.13 and causes test failures. Call it in TestMain instead.
      
      * build: remove workaround for ./... vendor matching
      
      This workaround was necessary for Go 1.8. The Go 1.9 release changed
      the expansion rules to exclude vendored packages.
      
      * Makefile: use relative path for GOBIN
      
      This makes the "Run ./build/bin/..." line look nicer.
      
      * les: fix test binary flags for Go 1.13
      
      Calling flag.Parse during package initialization is prohibited
      as of Go 1.13 and causes test failures. Call it in TestMain instead.
  6. Jun 04, 2019
  7. Oct 01, 2018
    • Alexey Sharov's avatar
      cmd/swarm, swarm: cross-platform Content-Type detection (#17782) · dc5d643b
      Alexey Sharov authored
      - Mime types generator (Standard "mime" package rely on system-settings, see mime.osInitMime)
      - Changed swarm/api.Upload:
          - simplify I/O throttling by semaphore primitive and use file name where possible
          - f.Close() must be called in Defer - otherwise panic or future added early return will cause leak of file descriptors
          - one error was suppressed
      dc5d643b
  8. Jul 24, 2018
  9. Apr 17, 2018
  10. Jan 08, 2018
    • Felix Lange's avatar
      all: update generated code (#15808) · 5c2f1e00
      Felix Lange authored
      * core/types, core/vm, eth, tests: regenerate gencodec files
      
      * Makefile: update devtools target
      
      Install protoc-gen-go and print reminders about npm, solc and protoc.
      Also switch to github.com/kevinburke/go-bindata because it's more
      maintained.
      
      * contracts/ens: update contracts and regenerate with solidity v0.4.19
      
      The newer upstream version of the FIFSRegistrar contract doesn't set the
      resolver anymore. The resolver is now deployed separately.
      
      * contracts/release: regenerate with solidity v0.4.19
      
      * contracts/chequebook: fix fallback and regenerate with solidity v0.4.19
      
      The contract didn't have a fallback function, payments would be rejected
      when compiled with newer solidity. References to 'mortal' and 'owned'
      use the local file system so we can compile without network access.
      
      * p2p/discv5: regenerate with recent stringer
      
      * cmd/faucet: regenerate
      
      * dashboard: regenerate
      
      * eth/tracers: regenerate
      
      * internal/jsre/deps: regenerate
      
      * dashboard: avoid sed -i because it's not portable
      
      * accounts/usbwallet/internal/trezor: fix go generate warnings
      5c2f1e00
  11. Aug 04, 2017
  12. Aug 03, 2017
  13. Jul 31, 2017
  14. Jun 26, 2017
  15. Apr 06, 2017
  16. Mar 07, 2017
  17. Mar 02, 2017
  18. Nov 25, 2016
  19. Nov 03, 2016
    • Felix Lange's avatar
      build, internal/build: misc improvements (#3229) · ed2bc7fb
      Felix Lange authored
      * travis.yml: don't create darwin/386 builds
      
      * build: remove godep remains
      
      * internal/build: improve archives
      
      - enable compression for zip files
      - don't write half-complete archives
      
      * build: add -unstable to archive names
      ed2bc7fb
  20. Oct 02, 2016
    • Felix Lange's avatar
      build: improve debian packaging · 4f762797
      Felix Lange authored
      This commit tweaks the debian packaging tool:
      
      * All build environment metadata can now be overriden on the command
        line. This allows testing the CI build behaviour locally.
      * -unstable packages now actually contain the binaries (oops)
      * packages use Go 1.7 to build
      * archiving is skipped for PR builds
      4f762797
  21. Aug 16, 2016
  22. Aug 08, 2016
  23. Jun 22, 2016
    • Felix Lange's avatar
      build: add ci.go, use it everywhere · 6c33ba14
      Felix Lange authored
      The new build script, ci.go, replaces some of the older shell scripts.
      ci.go can compile go-ethereum, run the tests, create release archives
      and debian source packages.
      6c33ba14
  24. May 06, 2016
  25. Apr 15, 2016
  26. Dec 14, 2015
  27. Dec 08, 2015
  28. Dec 03, 2015
  29. Dec 02, 2015
  30. Dec 01, 2015
  31. Nov 29, 2015
  32. Nov 24, 2015
  33. Nov 20, 2015
  34. Oct 28, 2015
  35. Oct 07, 2015
  36. Sep 21, 2015
  37. Aug 07, 2015
Loading