vgvassilev wrote: > I have added a test, but it should only run on Darwin (macOS) platforms. > > ```c++ > // REQUIRES: host-supports-jit > > // RUN: cat %s | env SDKROOT=$(xcrun --show-sdk-path) > DYLD_LIBRARY_PATH=%S/Inputs:$DYLD_LIBRARY_PATH clang-repl > > %lib vec.dylib > #include <vector> > std::vector<int> v; > %quit > ```
In this case we will need an extra requires clause. Also I do not think we need the xcrun. There was some way to make a library out of yaml, you can look in the list of tests what it was. Maybe that’s useful. https://github.com/llvm/llvm-project/pull/117475 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits