Skip to content

Instantly share code, notes, and snippets.

Ankit Sablok ankitsablok89

Block or report user

Report or block ankitsablok89

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ankitsablok89
ankitsablok89 / gist:d42243e560227e26196bb815fe988e17
Last active May 7, 2017
Gist-5 : Peloton "Installing JDK-8" on Ubuntu Machine
View gist:d42243e560227e26196bb815fe988e17
1) sudo add-apt-repository ppa:webupd8team/java
2) sudo apt update
3) sudo apt install oracle-java8-installer
4) sudo apt install oracle-java8-set-default (To set Java environment variables automatically)
After executing all the above commands you should be able to see the output of "javac -version" as "javac 1.8.0_131"
5) sudo apt-get install eclipse eclipse-cdt (Install the Eclipse CDT Plugin)
View Gist-4 : Peloton Eclipse SetUp
[Desktop Entry]
Name=Eclipse
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse
View Gist-3 : Peloton "make install" Output
[ 0%] Built target peloton-proto
[ 97%] Built target peloton
[100%] Built target peloton-bin
[100%] Original libpg makefile target
[100%] Built target libpg_query
Install the project...
-- Install configuration: "Release"
-- Installing: /home/ankitsablok89/Desktop/Projects/CMU-Peloton-DBMS/peloton_build/install/share/Peloton/PelotonConfig.cmake
@ankitsablok89
ankitsablok89 / gist:50e866b8bd253f4c3bb6568460ebfce7
Last active May 7, 2017
Gist-2 : Peloton "make -j 4" output
View gist:50e866b8bd253f4c3bb6568460ebfce7
Scanning dependencies of target libpg_query
[ 0%] Running C++/Python protocol buffer compiler on /home/ankitsablok89/Desktop/Projects/CMU-Peloton-DBMS/peloton/src/proto/logging_service.proto
[ 0%] Running C++/Python protocol buffer compiler on /home/ankitsablok89/Desktop/Projects/CMU-Peloton-DBMS/peloton/src/proto/abstract_service.proto
[ 0%] Original libpg makefile target
make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
compiling src/pg_query.c
Scanning dependencies of target peloton-proto
[ 0%] Building CXX object src/CMakeFiles/peloton-proto.dir/__/include/peloton/proto/abstract_service.pb.cc.o
[ 0%] Building CXX object src/CMakeFiles/peloton-proto.dir/__/include/peloton/proto/logging_service.pb.cc.o
compiling src/pg_query_normalize.c
View gist:9f2251b078b802e495a806bb2fd77ce5
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
You can’t perform that action at this time.