travis, build: cocoapods build fixes and travis caches

This commit is contained in:
Péter Szilágyi
2016-11-11 12:06:24 +02:00
parent 5513c49c54
commit 4c16c82500
4 changed files with 18 additions and 3 deletions

View File

@ -14,16 +14,22 @@
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Contains wrappers and init code for the logger.
// Contains initialization code for the mbile library.
package geth
import (
"runtime"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
)
func init() {
// Initialize the logger
glog.SetV(logger.Info)
glog.SetToStderr(true)
// Initialize the goroutine count
runtime.GOMAXPROCS(runtime.NumCPU())
}