Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

2335-10.6 - continuing with llvm seems ok #7677

Closed
sls opened this issue Sep 16, 2011 · 3 comments
Closed

2335-10.6 - continuing with llvm seems ok #7677

sls opened this issue Sep 16, 2011 · 3 comments

Comments

@sls
Copy link

sls commented Sep 16, 2011

Lotus:bin sls$ brew install sbcl
Warning: Building with LLVM, but this formula is reported to not work with LLVM:

Compilation fails with LLVM.

We are continuing anyway so if the build succeeds, please open a ticket with
the following information: 2335-10.6. So
that we can update the formula accordingly. Thanks!

If it doesn't work you can: brew install --use-gcc

==> Downloading http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.50/sbcl-1.0.50-source.tar.bz2

################################################################## 100.0%

==> Downloading patches

################################################################## 100.0%
################################################################## 100.0%
################################################################## 100.0%
################################################################## 100.0%

==> Patching
patching file base-target-features.lisp-expr
Hunk #3 succeeded at 415 (offset 9 lines).
patching file doc/make-doc.sh
patching file contrib/sb-posix/posix-tests.lisp
Hunk #2 succeeded at 168 (offset 5 lines).
Hunk #3 succeeded at 336 (offset 8 lines).
Hunk #4 succeeded at 352 (offset 7 lines).
Hunk #5 succeeded at 535 (offset 24 lines).
Hunk #6 succeeded at 709 (offset 41 lines).
patching file customize-target-features.lisp
==> Downloading http://downloads.sourceforge.net/project/sbcl/sbcl/1.0.49/sbcl-1.0.49-x86-darwin-binary.tar.bz2

################################################################## 100.0%

==> ./make.sh --prefix='/usr/local/Cellar/sbcl/1.0.50' --xc-host='/private/tmp/homebrew-UNKNOWN-1.0.49-hS2b/sbcl-1.0.49-x86-darwin/src/runtime/sbcl --core
==> sh install.sh
/usr/local/Cellar/sbcl/1.0.50: 263 files, 49M, built in 5.9 minutes

Lotus:bin sls$ brew --env
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -march=core2 -w -pipe
CXXFLAGS: -O3 -march=core2 -w -pipe
MAKEFLAGS: -j8
Lotus:bin sls$

hth

@samueljohn
Copy link
Contributor

I don't know sbcl. Does it have a test? Perhaps make test or something.
For example other software (scipy) also builds ok, as far as I can remember, with llvm but does not pass it's tests.

@bcachet
Copy link

bcachet commented Nov 1, 2011

Building Boost with LLVM work for me (10.6.8, LLVM-GCC-4.2).

Bertrand

PS: Thanks for Homebrew, it is so usefull

@jacknagel
Copy link
Contributor

SBCL was noted as building with LLVM 2335 or greater in 347e0eb, so closing.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants