-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions for building omniscidb from source #2
Comments
following these instructions using latest omniscdb on iMac without cuda support yielded error:
maybe operator, no specific reason to spend time on it at present. Are you building on a specific platform/compiler? |
I am building on omniscidb-internal (using clang-8) which is a little ahead of the latest omniscidb. The first issue has fixed in https://github.com/omnisci/omniscidb-internal/pull/3698 . |
Ok, and apparently I need to add some paths to header files for my system I want to build native/locally.
|
This issue is not meant to be closed. |
Is the idea to build independent of native system tools using conda only? If so, I think there may be unsatisfied linux dependencies as well. |
Yes. What linux dependencies are you keeping in mind? |
Oh for me on standard AWS instance for example, there are no build tools, so conda install using your .yml needed binutils for ld, and then was complaining about some other libraries crt1.o being one I recall. |
I would be interested in what would be a minimal system requirement for building any library from a conda environment. Would Btw, in one ubuntu 18.04 box, building omniscidb also complains about not finding |
well libc6-dev doesn't appear to be available for |
Redhat equivalent to |
@mpeaton I was able to reproduce the crt1.o issue in a Centos 7.5 box. The solution is
(and re-prepare the build environment). |
|
When enabling CUDA build, execute also:
Note that
conda install ...
will change the current environment, so, one must also reset the build environment wheneverconda
program has been used.On some systems, one may also need to define
export LDFLAGS="$LDFLAGS -lrt -pthread -lresolv"
(see undefined reference to `__vdso_clock_gettime@GLIBC_PRIVATE' #6, qgpu)export CXXFLAGS="$CXXFLAGS -D__STDC_FORMAT_MACROS"
(see include/llvm/Object/SymbolicFile.h:48:31: error: expected ')' #8)export CXXFLAGS="$CXXFLAGS -Dsecure_getenv=getenv"
(see no member named 'secure_getenv' in the global namespace #7)export CONDA_BUILD_SYSROOT=<path to MacOSX??.??.sdk>
(see ld: dynamic main executables must link with libSystem.dylib for architecture x86_64 #10, mac mini)When enabling CUDA build, set also:
When enabling CUDA build, use:
In the case of failures, check out the following issues: #12 .
The text was updated successfully, but these errors were encountered: