Skip to content

Fix Kodkod build on Mavericks #58

@mhyee

Description

@mhyee

OS X 10.9.x (Mavericks) aliases gcc to clang, so some of the solvers fail to compile. We could fix the code, but lingeling requires OpenMP, which apparently isn't supported by clang. (We could remove the dependency on lingeling.)

The workaround I've been using is to configure waf to use real gcc and g++ (I already have GCC 4.9 installed via homebrew): CC=/usr/local/bin/gcc-4.9 CXX=/usr/local/bin/g++-4.9 ./waf configure

This workaround isn't great; I have to set the environment variables every time I run configure, and this also means GCC is a dependency of Kodkod.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions