diff options
| author | Misty De Meo | 2014-04-04 21:16:09 -0700 |
|---|---|---|
| committer | Misty De Meo | 2014-04-12 10:36:00 -0700 |
| commit | 15ca054a15eff279232672d3d2b59abbae148fb6 (patch) | |
| tree | 724b03e69406782b7efd91597f4c66f99b86eade /Library/Formula/libcppa.rb | |
| parent | 049bfda0b47ea851cb0241642ae26170915be616 (diff) | |
| download | homebrew-15ca054a15eff279232672d3d2b59abbae148fb6.tar.bz2 | |
Formula: provide compiler failure collections
`needs` allows formulae to specify dependencies on cross-compiler
dependencies, allowing multiple failures to be specified in a single
statement. For instance, `needs :cxx11` adds seven compiler failures.
Closes #22912.
Diffstat (limited to 'Library/Formula/libcppa.rb')
| -rw-r--r-- | Library/Formula/libcppa.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/Library/Formula/libcppa.rb b/Library/Formula/libcppa.rb index bf082c3f6..9972594aa 100644 --- a/Library/Formula/libcppa.rb +++ b/Library/Formula/libcppa.rb @@ -5,20 +5,13 @@ class Libcppa < Formula url 'https://github.com/Neverlord/libcppa/archive/V0.8.1.tar.gz' sha1 'd4f096aae2bb72e254ad6df45edf3fb62370acaa' - depends_on :macos => :lion depends_on 'cmake' => :build + needs :cxx11 + option 'with-opencl', 'Build with OpenCL actors' option 'with-examples', 'Build examples' - fails_with :gcc do - cause 'libcppa requires a C++11 compliant compiler.' - end - - fails_with :llvm do - cause 'libcppa requires a C++11 compliant compiler.' - end - def install args = %W[ --prefix=#{prefix} |
