Skip to content

Instantly share code, notes, and snippets.

View dpo's full-sized avatar
💭
Hacking

Dominique dpo

💭
Hacking
View GitHub Profile
@dpo
dpo / 01.configure
Last active December 15, 2015 16:19
Preliminary formula for gcc-4.3
checking build system type... i386-apple-darwin12.3.0
checking host system type... i386-apple-darwin12.3.0
checking target system type... i386-apple-darwin12.3.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
@dpo
dpo / pastix.rb
Created September 18, 2013 21:39
require 'formula'
class Pastix < Formula
homepage 'http://pastix.gforge.inria.fr'
url 'https://gforge.inria.fr/frs/download.php/32932/pastix_release_4492.tar.bz2'
sha1 '87acd507048e416e1758c9ef9461c59b4e7223a5'
head 'svn://scm.gforge.inria.fr/svnroot/ricar/tags/5.2.1'
version '5.2.1'
depends_on 'scotch' => :build
@dpo
dpo / mumps.rb
Created September 20, 2013 23:28
require 'formula'
class Mumps < Formula
homepage 'http://mumps.enseeiht.fr'
url 'http://mumps.enseeiht.fr/MUMPS_4.10.0.tar.gz'
mirror 'http://graal.ens-lyon.fr/MUMPS/MUMPS_4.10.0.tar.gz'
sha1 '904b1d816272d99f1f53913cbd4789a5be1838f7'
version '4.10.0'
depends_on 'scotch5' => :build # Scotch 6 support currently broken.
require 'formula'
class Quadprog < Formula
homepage 'http://sourceforge.net/projects/quadprog'
url 'http://downloads.sourceforge.net/quadprog/quadprog-1.2.1.tar.gz'
sha1 '918bfd8cda2d058bcc9f63a4b03c69a0e2fd55fb'
version '1.2.1'
head 'svn://svn.code.sf.net/p/quadprog/code'
depends_on 'boost' => :recommended
require 'formula'
class Cppad < Formula
homepage 'http://www.coin-or.org/CppAD'
url 'http://www.coin-or.org/CppAD/Doc/cppad-20131019.epl.tgz'
version '20131019'
sha1 'f99c9fad1f8c89d0c93899e5fbd9895cc7fcaeab'
head 'https://projects.coin-or.org/svn/CppAD/trunk', :using => :svn
depends_on 'boost' => :optional
@dpo
dpo / a.rb
Created October 13, 2013 22:41
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: 793ee9d7714a336da3c37b4b24272101f854a86c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336
Warning: Your Xcode (4.6.3) is outdated
Please install Xcode 5.0.
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.3.6/gcc-4.3.6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc43-4.3.6.tar.bz2
==> Downloading patches
==> Patching
patching file gcc/config.gcc
patching file configure
patching file configure.ac
This file has been truncated, but you can view the full file.
Warning: Your Xcode (4.6.3) is outdated
Please install Xcode 5.0.
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gcc43.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gmp4.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/mpfr2.rb
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
/usr/local/Library/Formula/gcc43.rb: loading /usr/local/Library/Formula/gmp4.rb
/usr/local/Library/Formula/gcc43.rb: loading /usr/local/Library/Formula/mpfr2.rb
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.3.6/gcc-4.3.6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc43-4.3.6.tar.bz2
This file has been truncated, but you can view the full file.
Warning: Your Xcode (4.6.3) is outdated
Please install Xcode 5.0.
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gcc43.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/gmp4.rb
/usr/local/Library/brew.rb: loading /usr/local/Library/Formula/mpfr2.rb
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
/usr/local/Library/Formula/gcc43.rb: loading /usr/local/Library/Formula/gmp4.rb
/usr/local/Library/Formula/gcc43.rb: loading /usr/local/Library/Formula/mpfr2.rb
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.3.6/gcc-4.3.6.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc43-4.3.6.tar.bz2
@dpo
dpo / 02.make
Created October 14, 2013 03:15
This file has been truncated, but you can view the full file.
echo stagefeedback > stage_final
mkdir build-x86_64-apple-darwin12.4.0
mkdir build-x86_64-apple-darwin12.4.0
mkdir: build-x86_64-apple-darwin12.4.0: File exists
mkdir build-x86_64-apple-darwin12.4.0/libiberty
mkdir build-x86_64-apple-darwin12.4.0/fixincludes
Configuring in build-x86_64-apple-darwin12.4.0/fixincludes
Configuring in build-x86_64-apple-darwin12.4.0/libiberty
Configuring stage 1 in ./intl
Configuring stage 1 in ./libiberty