phstudy edited a comment on pull request #28:
URL:
https://github.com/apache/incubator-datasketches-postgresql/pull/28#issuecomment-675233090
> The base image (debian buster) only supports LLVM 7.0 which failed to
build extension for postgresql 11+.
Fixed. Adding the following code in Makefile:
```
COMPILE.cxx.bc = $(CLANG) -xc++ -Wno-ignored-attributes $(BITCODE_CXXFLAGS)
$(CPPFLAGS) -emit-llvm -c
%.bc : %.cpp
$(COMPILE.cxx.bc) -o $@ $<
$(LLVM_BINPATH)/opt -module-summary -f $@ -o $@
```
This patch should also fix #25.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]