Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
==========================================================================
Using anaconda's GCC
==========================================================================
[me12b@libra ~]$ which g++
~/anaconda2/bin/g++
[me12b@libra ~]$ ls
16-Apr-2015 bazel bin cuda_cluster_pkgs_rhel6 linux-64-libgcc-5.2.0-0.tar.bz2 rahul sshin tmp
anaconda2 bazel-0.4.3-installer-linux-x86_64.sh conda_files file: opt scratch tensorflow vishruit
[me12b@libra ~]$ gcc -V
gcc: error: unrecognized command line option ‘-V’
gcc: fatal error: no input files
compilation terminated.
[me12b@libra ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/gpuusers/btech/me12b/anaconda2/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.5/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-gxx-include-dir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/gcc/include/c++ --bindir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/bin --datarootdir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share --libdir=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib --with-gmp=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-mpfr=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-mpc=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-isl=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --with-cloog=/home/ray/mc-x64-2.7/conda-bld/gcc_1479223211463/_b_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold --enable-checking=release --with-tune=generic --disable-multilib
Thread model: posix
gcc version 4.8.5 (GCC)
[me12b@libra ~]$ ^C
[me12b@libra ~]$
==========================================================================
Installing Bazel via installer
==========================================================================
[me12b@libra ~]$ bash bazel-0.4.3-installer-linux-x86_64.sh --user
Bazel installer
---------------
Bazel is bundled with software licensed under the GPLv2 with Classpath exception.
You can find the sources next to the installer on our release page:
https://github.com/bazelbuild/bazel/releases
# Release 0.4.3 (2016-12-22)
Baseline: c645a45
Cherry picks:
+ af878d0: Add coverage support for java test. (series 4/4 of
open-sourcing coverage command for java test)
+ 09b92a8: Rollback of commit
67b4d5250edcefa7220e928e529b1f385e2dc464.
+ b11dd48: Fix bad bug with the parallel implementation of
BinaryOperatorExpression. Turns out that
ForkJoinTask#adapt(Callable) returns a ForkJoinTask
whose Future#get on error throws a ExecutionException
wrapping a RuntimeException wrapping the thrown checked
exception from the callable. This is documented
behavior [1] that I incorrectly didn't know about.
+ 9012bf1: Fix scripts/packages/convert_changelog to read the
changelog correctly
+ 55c97bc: Release script: if master branch does not exist, fall
back on origin/master
+ 4fb378c: Debian repository: override section and priority fields
+ acbcbc2: Fix release notes in emails
+ 4975760: Fix PathFragment to not use Java8-only static hashCode
methods.
+ 05fd076: Disable sandboxing for XibCompile actions.
Incompatible changes:
- Skylark maven_jar and maven_aar settings attribute is now a label
so it can be checked into your workspace.
- --{no}experimental_use_rclass_generator is now a nop.
New features:
- Coverage support (*experimental*) for pure Java target.
Use `bazel coverage //my:target` to generate coverage information
from a `java_test`.
Important changes:
- Enable fallback URLs in Skylark http rules.
- cc_proto_library generates C++ code from proto_library rules.
- cc_library now supports the strip_prefix and strip_include_prefix
attributes for control of include paths.
- Skylark dicts internally don't rely on keys order anymore and
accept any hashable values (i.e. structs with immutable values)
as keys. Iteration order of dictionaries is no longer specified.
## Build informations
- [Build log](http://ci.bazel.io/job/Bazel/JAVA_VERSION=1.8,PLATFORM_NAME=linux-x86_64/1131/)
- [Commit](https://github.com/bazelbuild/bazel/commit/1d2fb1f)
Uncompressing......
/gpuusers/btech/me12b/.bazelrc already exists, moving it to /gpuusers/btech/me12b/.bazelrc.bak.
/gpuusers/btech/me12b/bin/bazel: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /gpuusers/btech/me12b/bin/bazel)
/gpuusers/btech/me12b/bin/bazel: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by /gpuusers/btech/me12b/bin/bazel)
/gpuusers/btech/me12b/bin/bazel: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by /gpuusers/btech/me12b/bin/bazel)
[me12b@libra ~]$
==========================================================================
Building bazel via sources
==========================================================================
[me12b@libra bazel]$ ls
AUTHORS bazel-genfiles BUILD compile.sh derived LICENSE.txt scripts third_party
bazel-bazel bazel-out CHANGELOG.md CONTRIBUTING.md examples output site tools
bazel-bin bazel-testlogs combine_distfiles.sh CONTRIBUTORS ISSUE_TEMPLATE.md README.md src WORKSPACE
[me12b@libra bazel]$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO: ./compile.sh compile /path/to/bazel
🍃 Building Bazel from scratch..scripts/bootstrap/buildenv.sh: line 144: 13651 Killed "${@}" >> "${errfile}" 2>&1
/gpuusers/btech/me12b/opt/sunjdk/1.8/jdk1.8.0_111/bin/javac -classpath third_party/gson/gson-2.2.4.jar:third_party/pcollections/pcollections-2.1.2.jar:third_party/joda_time/joda-time-2.3.jar:third_party/aether/aether-api-1.0.0.v20140518.jar:third_party/aether/aether-connector-basic-1.0.0.v20140518.jar:third_party/aether/aether-transport-classpath-1.0.0.v20140518.jar:third_party/aether/aether-util-1.0.0.v20140518.jar:third_party/aether/aether-spi-1.0.0.v20140518.jar:third_party/aether/aether-transport-http-1.0.0.v20140518.jar:third_party/aether/aether-transport-file-1.0.0.v20140518.jar:third_party/aether/aether-impl-1.0.0.v20140518.jar:third_party/aether/aether-transport-wagon-1.0.0.v20140518.jar:third_party/checker_framework_dataflow/dataflow-1.8.10.jar:third_party/apache_commons_logging/commons-logging-1.1.1.jar:third_party/android_common/com.android.tools.build_builder_0.13.3.jar:third_party/android_common/com.android.tools.build_builder-test-api_2.0.0.jar:third_party/android_common/com.android.tools.layoutlib_layoutlib_23.1.3.jar:third_party/android_common/com.android.tools.build_manifest-merger_23.1.3.jar:third_party/android_common/com.android.jack_api_0.9.0.jar:third_party/android_common/com.android.tools_repository_25.0.0.jar:third_party/android_common/com.android.tools.build_manifest-merger_25.0.0.jar:third_party/android_common/com.android.tools_dvlib_25.0.0.jar:third_party/android_common/com.android.tools_common_25.0.0.jar:third_party/android_common/com.android.tools.build_builder-model_0.13.3.jar:third_party/android_common/com.android.tools_sdk-common_25.0.0.jar:third_party/android_common/com.android.tools_common_23.1.3.jar:third_party/android_common/com.android_annotations_25.0.0.jar:third_party/android_common/com.android.tools.layoutlib_layoutlib_25.0.0.jar:third_party/android_common/com.android.jill_api_0.9.0.jar:third_party/android_common/com.android.tools_sdklib_25.0.0.jar:third_party/android_common/com.android.tools.build_builder-model_2.0.0.jar:third_party/android_common/com.android.tools_sdklib_23.1.3.jar:third_party/android_common/com.android.tools_sdk-common_23.1.3.jar:third_party/android_common/com.android.tools.build_builder_2.0.0.jar:third_party/android_common/com.android.tools_ddmlib_25.0.0.jar:third_party/error_prone/error_prone_annotations-2.0.13.jar:third_party/guava/guava-21.0-20161101.jar:third_party/error_prone/error_prone_annotation-2.0.13.jar:third_party/apache_httpclient/httpclient-4.2.5.jar:third_party/apache_httpcore/httpcore-4.2.4.jar:third_party/auto/auto-value-1.2.jar:third_party/auto/auto-common-0.3.jar:third_party/auto/auto-value-1.4-rc1.jar:third_party/auto/auto-service-1.0-rc2.jar:third_party/slf4j/slf4j-api-1.7.7.jar:third_party/slf4j/slf4j-jdk14-1.7.7.jar:third_party/asm/asm-5.0.4.jar:third_party/asm/asm-5.0.3.jar:third_party/asm/asm-commons-5.0.4.jar:third_party/asm/asm-util-5.0.4.jar:third_party/asm/asm-tree-5.0.4.jar:third_party/jgit/org.eclipse.jgit-4.0.1.201506240215-r.jar:third_party/xz/xz-1.5.jar:third_party/jimfs/jimfs-1.1-rc1.jar:third_party/ijar/test/libwrongcentraldir.jar:third_party/truth/truth-0.28.jar:third_party/bytebuddy/byte-buddy-dep-0.7-rc6.jar:third_party/hamcrest/hamcrest-core-1.3.jar:third_party/netty/netty-all-4.1.0.CR6.jar:third_party/maven_model/maven-aether-provider-3.2.3.jar:third_party/maven_model/maven-model-3.2.3.jar:third_party/maven_model/maven-repository-metadata-3.2.3.jar:third_party/maven_model/maven-model-builder-3.2.3.jar:third_party/plexus_interpolation/plexus-interpolation-1.22.jar:third_party/hazelcast/hazelcast-client-3.5.4.jar:third_party/hazelcast/hazelcast-client-3.6.4.jar:third_party/hazelcast/hazelcast-3.6.4.jar:third_party/hazelcast/hazelcast-3.5.4.jar:third_party/apache_commons_pool2/commons-pool2-2.3.jar:third_party/java/apksig/apksigner_deploy.jar:third_party/java/jacoco/jacocoagent.jar:third_party/java/jacoco/org.jacoco.agent-0.7.5.201505241946-src.jar:third_party/java/jacoco/org.jacoco.report-0.7.5.201505241946-src.jar:third_party/java/jacoco/org.jacoco.core-0.7.5.201505241946-src.jar:third_party/java/jacoco/org.jacoco.report-0.7.5.201505241946.jar:third_party/java/jacoco/org.jacoco.agent-0.7.5.201505241946.jar:third_party/java/jacoco/org.jacoco.core-0.7.5.201505241946.jar:third_party/java/android_databinding/exec.jar:third_party/java/jarjar/jarjar-1.4.jar:third_party/dagger/dagger-2.5.jar:third_party/dagger/dagger-compiler-2.5.jar:third_party/dagger/dagger-producers-2.5.jar:third_party/tomcat_annotations_api/tomcat-annotations-api-8.0.5.jar:third_party/apache_commons_collections/commons-collections-3.2.2.jar:third_party/mockito/mockito-all-1.10.19.jar:third_party/apache_commons_codec/commons-codec-1.9.jar:third_party/jsr330_inject/javax.inject.jar:third_party/junit/junit-4.11.jar:third_party/plexus_utils/plexus-utils-3.0.21.jar:third_party/jsch/jsch-0.1.51.jar:third_party/error_prone/error_prone_core-2.0.13.jar:third_party/guava/guava-testlib-21.0-20161101.jar:third_party/jcip_annotations/jcip-annotations-1.0-1.jar:third_party/apache_commons_compress/apache-commons-compress-1.9.jar:third_party/apache_commons_lang/commons-lang-2.6.jar:third_party/protobuf/3.0.0/protobuf-java-3.0.0.jar:third_party/plexus_component_annotations/plexus-component-annotations-1.6.jar:third_party/maven/maven-settings-3.3.3.jar:third_party/maven/maven-settings-builder-3.3.3.jar:third_party/maven/maven-builder-support-3.3.3.jar:third_party/apache_velocity/velocity-1.7.jar:third_party/jsr305/jsr-305.jar:third_party/grpc/grpc-protobuf-0.15.0.jar:third_party/grpc/grpc-protobuf-lite-0.15.0.jar:third_party/grpc/grpc-stub-0.15.0.jar:third_party/grpc/grpc-netty-0.15.0.jar:third_party/grpc/grpc-core-0.15.0.jar:/tmp/bazel_6HMqCoDj -sourcepath src/java_tools/singlejar/java/com/google/devtools/build/zip:src/main/java:src/tools/xcode-common/java/com/google/devtools/build/xcode/common:src/tools/xcode-common/java/com/google/devtools/build/xcode/util:third_party/java/dd_plist/java:/tmp/bazel_6HMqCoDj/src -d /tmp/bazel_6HMqCoDj/classes -source 1.8 -target 1.8 -encoding UTF-8 @/tmp/bazel_ksIV0c6W/param
src/main/java/com/google/devtools/build/lib/runtime/OomSignalHandler.java:21: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:19: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:20: warning: SignalHandler is internal proprietary API and may be removed in a future release
import sun.misc.SignalHandler;
^
src/main/java/com/google/devtools/build/lib/server/signal/InterruptSignalHandler.java:16: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/runtime/OomSignalHandler.java:21: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:19: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:20: warning: SignalHandler is internal proprietary API and may be removed in a future release
import sun.misc.SignalHandler;
^
src/main/java/com/google/devtools/build/lib/server/signal/InterruptSignalHandler.java:16: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/runtime/OomSignalHandler.java:21: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:19: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:20: warning: SignalHandler is internal proprietary API and may be removed in a future release
import sun.misc.SignalHandler;
^
src/main/java/com/google/devtools/build/lib/server/signal/InterruptSignalHandler.java:16: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/runtime/OomSignalHandler.java:21: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:19: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:20: warning: SignalHandler is internal proprietary API and may be removed in a future release
import sun.misc.SignalHandler;
^
src/main/java/com/google/devtools/build/lib/server/signal/InterruptSignalHandler.java:16: warning: Signal is internal proprietary API and may be removed in a future release
import sun.misc.Signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:30: warning: Signal is internal proprietary API and may be removed in a future release
private final Signal signal;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:31: warning: SignalHandler is internal proprietary API and may be removed in a future release
private SignalHandler oldHandler;
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:38: warning: Signal is internal proprietary API and may be removed in a future release
protected AbstractSignalHandler(Signal signal) {
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:43: warning: SignalHandler is internal proprietary API and may be removed in a future release
new SignalHandler() {
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:45: warning: Signal is internal proprietary API and may be removed in a future release
public void handle(Signal signal) {
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:41: warning: Signal is internal proprietary API and may be removed in a future release
Signal.handle(
^
src/main/java/com/google/devtools/build/lib/server/signal/AbstractSignalHandler.java:56: warning: Signal is internal proprietary API and may be removed in a future release
Signal.handle(signal, oldHandler);
^
src/main/java/com/google/devtools/build/lib/server/signal/InterruptSignalHandler.java:20: warning: Signal is internal proprietary API and may be removed in a future release
private static final Signal SIGINT = new Signal("INT");
^
src/main/java/com/google/devtools/build/lib/server/signal/InterruptSignalHandler.java:20: warning: Signal is internal proprietary API and may be removed in a future release
private static final Signal SIGINT = new Signal("INT");
^
[me12b@libra bazel]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment