[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] 370d5c: Fix CMake-based build under FreeBSD 10.2.



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 370d5c77702ff77b02b38f3d0a7c12f98f13abbb
      https://github.com/csmith-project/creduce/commit/370d5c77702ff77b02b38f3d0a7c12f98f13abbb
  Author: Eric Eide <eeide@cs.utah.edu>
  Date:   2016-12-10 (Sat, 10 Dec 2016)

  Changed paths:
    M clang_delta/CMakeLists.txt

  Log Message:
  -----------
  Fix CMake-based build under FreeBSD 10.2.

Link with additional LLVM components.  This fixes linking errors for
people who use FreeBSD 10.2 and the "llvm39" package.

I determined the set of additional components mostly by guessing, based
on the names of missing symbols.  Once it worked, I pruned my additions.
I removed those that didn't seem to be needed in the end.

It could be that some of the additions are more general than they need
to be.  Do components pull in other components?  As you can tell, I
don't really understand how `llvm_map_components_to_libnames` works.

Anyway, now linking works for me under FreeBSD 10.2.  Hooray!