Revert "Fix missing build dependency on omp_gen."
authorSimon Tatham <simon.tatham@arm.com>
Tue, 30 Jun 2020 08:28:41 +0000 (09:28 +0100)
committerSimon Tatham <simon.tatham@arm.com>
Tue, 30 Jun 2020 08:37:45 +0000 (09:37 +0100)
commit39ea5d74b283d5a42f34b856d22bfaf806a1c907
tree0b58becd69c2b727aa397a06f88a4de658536751
parent8577a090f5f04e18d72bb2dd387e60082e4da0ca
Revert "Fix missing build dependency on omp_gen."

This reverts commit ed4328c607306a2aa6df4833a0dce4482edbc94c.

My change apparently caused a buildbot to fail with the error

  CMake Error at /b/sanitizer-x86_64-linux-autoconf/build/tsan_release_build/lib/cmake/llvm/AddLLVM.cmake:869 (add_dependencies):
  The dependency target "omp_gen" of target "ScudoBenchmarks.x86_64" does not
  exist.

I don't at all understand why, because as far as I can see, the target
`omp_gen` is only added to `LLVM_COMMON_DEPENDS` after having been
created, so there //should// be no way it can end up on anything's
dependency list if it doesn't exist! But apparently it happened anyway.

Differential Revision: https://reviews.llvm.org/D82659
llvm/include/llvm/CMakeLists.txt
llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt