Skip to content

Instantly share code, notes, and snippets.

View tkelman's full-sized avatar

Tony Kelman tkelman

View GitHub Profile
type FakeTerminal <: Base.Terminals.UnixTerminal
in_stream::Base.IO
out_stream::Base.IO
err_stream::Base.IO
hascolor::Bool
raw::Bool
FakeTerminal(stdin,stdout,stderr,hascolor=true) =
new(stdin,stdout,stderr,hascolor,false)
end
type FakeTerminal <: Base.Terminals.UnixTerminal
in_stream::Base.IO
out_stream::Base.IO
err_stream::Base.IO
hascolor::Bool
raw::Bool
FakeTerminal(stdin,stdout,stderr,hascolor=true) =
new(stdin,stdout,stderr,hascolor,false)
end
tkelman@ygdesk:~/Julia/julia/test$ JULIA_CPU_CORES=1 gdb --args ../usr/bin/julia-debug runtests.jl all
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
$ CC="x86_64-w64-mingw32-gcc -g -fno-stack-check -fno-stack-protector -mno-stack-arg-probe" make test > make.log 2>&1
$ gdb ./ecostester
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
$ CC="x86_64-w64-mingw32-gcc -g -O0 -Wl,--stack,8388608" make test > make.log 2>&1
$ gdb ./ecostester.exe
GNU gdb (GDB) 7.6.50.20130728-cvs (cygwin-special)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
tkelman@ygdesk:~/github/mp$ git log -1
commit 645262fcd8df4c9ab5c660f6eb4876b05b2fbe79
Author: Victor Zverovich <victor.zverovich@gmail.com>
Date: Fri Aug 29 21:12:35 2014 -0700
Add license.
tkelman@ygdesk:~/github/mp$ mkdir build07
tkelman@ygdesk:~/github/mp$ cd build07
tkelman@ygdesk:~/github/mp/build07$ cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_SHARED_LINKER_FLAGS=-Wl,--no-undefined
-- The C compiler identification is GNU 4.8.2
tkelman@ygdesk:~/github/mp/build20$ time(cmake .. -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw -DCMAKE_INSTALL_LIBDIR:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib -DBIN_INSTALL_DIR=/usr/x86_64-w64-mingw32/sys-root/mingw/bin -DINCLUDE_INSTALL_DIR:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/include -DLIB_INSTALL_DIR:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib -DSHARE_INSTALL_DIR:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/share -DSYSCONF_INSTALL_DIR:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/share -DCMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=/usr/bin/x86_64-w64-mingw32-g++ -DCMAKE_RC_COMPILER=/usr/bin/x86_64-w64-mingw32-windres -DCMAKE_FIND_ROOT_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_
Tony@TK-samsung ~/github/mp
$ git log -1
commit 25345975f933468b72b390fb2fdf529d44f49bf7
Author: Victor Zverovich <victor.zverovich@gmail.com>
Date: Wed Sep 3 10:51:29 2014 -0700
Compile mp as a static library because it doesn't export anything.
Tony@TK-samsung ~/github/mp
$ mkdir build01 && cd build01
Tony@TK-samsung ~/github/mp
$ git log -1
commit e1e8f1c16e1f1251c19a9835b7aef467727f9e5e
Author: Victor Zverovich <victor.zverovich@gmail.com>
Date: Thu Sep 4 15:57:48 2014 -0700
Test ReaderBase and TextReader and fix error reporting.
Tony@TK-samsung ~/github/mp
$ git diff
Tony@TK-samsung ~/github/mp
$ git log -1
commit d24c8b176a381927557f369ac6492d7d3139d112
Author: Victor Zverovich <victor.zverovich@gmail.com>
Date: Fri Sep 5 12:28:37 2014 -0700
Fix aslbuilder-test.
Tony@TK-samsung ~/github/mp
$ mkdir build03 && cd build03