Coder Social home page Coder Social logo

Comments (12)

jwatzman avatar jwatzman commented on June 14, 2024

Needs full logs -- can you run brew gist-logs hhvm please?

from homebrew-hhvm.

Hywan avatar Hywan commented on June 14, 2024

I have an error 403 (Forbidden) from brew gist-logs hhvm :-/.

from homebrew-hhvm.

wjywbs avatar wjywbs commented on June 14, 2024

It's probably because some Mac CPUs do not have sse crc support? Using -march=native might not work: facebook/hhvm@03a6cc6. I used -msse4.2 instead to always be able to build.

from homebrew-hhvm.

jwatzman avatar jwatzman commented on June 14, 2024

@wjywbs possibly, is clang somehow picking the wrong arch for native?

@Hywan I need some sort of logs to look into this. The full output of brew install --verbose hhvm would also be useful.

from homebrew-hhvm.

Hywan avatar Hywan commented on June 14, 2024

@jwatzman It's running :-).

from homebrew-hhvm.

Hywan avatar Hywan commented on June 14, 2024

@jwatzman http://pastebin.com/raw.php?i=nsMh20kt

from homebrew-hhvm.

bkarge avatar bkarge commented on June 14, 2024

@jwatzman, @wjywbs: thanks!! -msse4.2 in HPHPCompiler.cmake did the trick. No idea yet how to tell clang on MacOS to enable full native CPU support (this i5-5257U should support SSE4.2). Will try playing with -target some time...

from homebrew-hhvm.

wjywbs avatar wjywbs commented on June 14, 2024

Clang 3.6 doesn't recognize new broadwell CPUs. Clang 3.7 should support it.

llvm-mirror/llvm@da740f1
llvm-mirror/llvm@9f7761b

from homebrew-hhvm.

jwatzman avatar jwatzman commented on June 14, 2024

@wjywbs oh good find, thanks. I still think -msse4.2 is better than -march=native, since it both specifies exactly what the problem is, as well as doesn't necessarily make the binaries non-portable (which will make me more comfortable providing bottles built on my newish Mac Pro).

from homebrew-hhvm.

jwatzman avatar jwatzman commented on June 14, 2024

Does that make sense to you?

from homebrew-hhvm.

wjywbs avatar wjywbs commented on June 14, 2024

Yes, I also prefer -msse4.2 and I always used it before -march=native was added. Clang on linux has this same issue.

from homebrew-hhvm.

jwatzman avatar jwatzman commented on June 14, 2024

OK, diff out to change this, should be on github later today. You'll have to build with --HEAD to get it since it's a fix to HHVM itself, not this formula, but I may update the formula to patch it in later. (I'd like to provide bottles and this will help.)

from homebrew-hhvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.