Closed ghost closed 4 years ago
Does MLIR now support building with shared libraries? The reason I didn't get this working when merging the changed CMake files is that at the time it didn't, but perhaps that has been fixed now?
I didn't get any error when building llvm+mlir with shared libraries.
Anecdotally, I heard mlir would fail with an initialization error when used as shared libraries. @ChinouneMehdi Can you confirm that f18 is working ok with mlir shared libraries?
@sscalpone All the tests pass when building f18 with mlir shared libraries.
Hi, why have you closed this? Is the problem resolved now?
I tried to build f18 using this configuration:
``/opt/f18``` is where I installed llvm+mlir. I got this error:
the error doesn't occur when "BUILD_SHARED_LIBS" is not set or "-DBUILD_SHARED_LIBS=OFF"