tango-controls-hdbpp / hdbpp-timescale-project Goto Github PK
View Code? Open in Web Editor NEWhdbpp-timescale-project. Moved to https://gitlab.com/tango-controls/hdbpp/hdbpp-timescale-project
hdbpp-timescale-project. Moved to https://gitlab.com/tango-controls/hdbpp/hdbpp-timescale-project
Dear hdbpp-timescale-project contributor (via commits, comments on issue or pull requests, issue creator),
If you have contributed in any way (commit, issue or Pull Request creation or comment) to hdbpp-timescale-project, please log into Gitlab.com using your Github account ASAP.
See https://gitlab.com/tango-controls/TangoTickets/-/issues/47 for details.
Please click on the following link and add your github account name to this framapad when you've already done the login to Gitlab.com using your Github account:
https://mensuel.framapad.org/p/migration_ready_2548763689
Please note that login on gitlab.com using your Github account is safe and doesn't give your Github password to Gitlab.
For convenience, here is the list of contributors we could already find (and who did not signal they had done it yet for another repo):
Thank you for your cooperation.
hdbpp-timescale-project/CMakeLists.txt
Line 66 in ae69572
Once we get the outstanding integrated build in hdbpp-es merged (and repo tagged), and version tickets tickets on libhdbpp and hdbpp-cm fixed, update the embedded tags in the build system to reflect the known working version.
The update should be done in the CMAKE here:
# component versions that will be pulled on building. This can be a commit number, a branch name or a tag.
set(HDBPP_ES_VERSION "integrated-build")
set(HDBPP_CM_VERSION "integrated-build")
set(LIBHDBPP_VERSION "exp-refactor")
set(LIBHDBPP_TIMESCALE_VERSION "project-build2")
(This is the thing I mentioned in the latest HDB++ meeting).
I was trying to build this project on my Ubuntu 20.4 machine for doing local testing and ran into some linker errors, complaining about missing "-lrt" flag. In the end I got it to work by adding rt
to the target_link_libraries
in CMakeLists.txt
in both the hdbpp_es
and hdbpp_cm
subrepos. No real clue to why this is needed or if it's even the right approach.
I was compiling against the latest cpptango in conda-forge, which is 9.3.4.
i am building this project on an arm64, ubuntu 18.04.
follow the build for this project with:
git clone --recurse-submodules https://github.com/tango-controls-hdbpp/hdbpp-timescale-project.git
then: mkdir -p build, cd build, cmake ..
got this error:
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Searching for libraries...
-- Found dl at: /usr/lib/aarch64-linux-gnu/libdl.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Search for TANGO package config...
-- Checking for one of the modules 'tango>=9.2.5'
-- Found tango version 9.2.5a at /usr
-- Found tango at: /usr/lib/aarch64-linux-gnu/libtango.so
-- Found omniDynamic4 at: /usr/lib/aarch64-linux-gnu/libomniDynamic4.so
-- Found COS4 at: /usr/lib/aarch64-linux-gnu/libCOS4.so
-- Found omniORB4 at: /usr/lib/aarch64-linux-gnu/libomniORB4.so
-- Found omnithread at: /usr/lib/aarch64-linux-gnu/libomnithread.so
-- Found log4tango at: /usr/lib/aarch64-linux-gnu/liblog4tango.so
-- Found zmq at: /usr/lib/aarch64-linux-gnu/libzmq.so
-- Configured Tango Interface for TANGO version 9.2.5a
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Configured hdbpp-health-check project
CMake Error at CMakeLists.txt:60 (add_subdirectory):
add_subdirectory given source "components/test" which is not an existing
directory.
-- Populating hdbpp_cm
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fbggroup/hdbpp-timescale-project/build/_deps/hdbpp_cm-subbuild
Scanning dependencies of target hdbpp_cm-populate
[ 11%] Creating directories for 'hdbpp_cm-populate'
[ 22%] Performing download step (git clone) for 'hdbpp_cm-populate'
Cloning into 'hdbpp_cm'...
Note: checking out 'v2.0.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 654a9ba Update README.md
[ 33%] No patch step for 'hdbpp_cm-populate'
[ 44%] Performing update step for 'hdbpp_cm-populate'
[ 55%] No configure step for 'hdbpp_cm-populate'
[ 66%] No build step for 'hdbpp_cm-populate'
[ 77%] No install step for 'hdbpp_cm-populate'
[ 88%] No test step for 'hdbpp_cm-populate'
[100%] Completed 'hdbpp_cm-populate'
[100%] Built target hdbpp_cm-populate
-- Searching for libraries...
-- Configured hdbpp-cm project
-- Populating hdbpp_es
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fbggroup/hdbpp-timescale-project/build/_deps/hdbpp_es-subbuild
Scanning dependencies of target hdbpp_es-populate
[ 11%] Creating directories for 'hdbpp_es-populate'
[ 22%] Performing download step (git clone) for 'hdbpp_es-populate'
Cloning into 'hdbpp_es'...
Note: checking out 'v2.0.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at b6b3eaf Merge branch 'integrated-build'
[ 33%] No patch step for 'hdbpp_es-populate'
[ 44%] Performing update step for 'hdbpp_es-populate'
[ 55%] No configure step for 'hdbpp_es-populate'
[ 66%] No build step for 'hdbpp_es-populate'
[ 77%] No install step for 'hdbpp_es-populate'
[ 88%] No test step for 'hdbpp_es-populate'
[100%] Completed 'hdbpp_es-populate'
[100%] Built target hdbpp_es-populate
-- Searching for libraries...
-- Configured hdbpp-es project
-- Populating libhdbpp
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fbggroup/hdbpp-timescale-project/build/_deps/libhdbpp-subbuild
Scanning dependencies of target libhdbpp-populate
[ 11%] Creating directories for 'libhdbpp-populate'
[ 22%] Performing download step (git clone) for 'libhdbpp-populate'
Cloning into 'libhdbpp'...
Note: checking out 'v2.0.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
HEAD is now at 59cd7be Merge branch 'exp-refactor'
[ 33%] No patch step for 'libhdbpp-populate'
[ 44%] Performing update step for 'libhdbpp-populate'
[ 55%] No configure step for 'libhdbpp-populate'
[ 66%] No build step for 'libhdbpp-populate'
[ 77%] No install step for 'libhdbpp-populate'
[ 88%] No test step for 'libhdbpp-populate'
[100%] Completed 'libhdbpp-populate'
[100%] Built target libhdbpp-populate
-- Searching for libraries...
-- Found dl at: /usr/lib/aarch64-linux-gnu/libdl.so
-- Configured libhdbpp project
-- Populating libhdbpp_timescale
-- Configuring done
-- Generating done
-- Build files have been written to: /home/fbggroup/hdbpp-timescale-project/build/_deps/libhdbpp_timescale-subbuild
Scanning dependencies of target libhdbpp_timescale-populate
[ 11%] Creating directories for 'libhdbpp_timescale-populate'
[ 22%] Performing download step (git clone) for 'libhdbpp_timescale-populate'
Cloning into 'libhdbpp-timescale'...
Switched to a new branch 'project-build2'
Branch 'project-build2' set up to track remote branch 'project-build2' from 'origin'.
Submodule 'thirdparty/Catch2' (https://github.com/catchorg/Catch2.git) registered for path 'thirdparty/Catch2'
Submodule 'thirdparty/google/benchmark' (https://github.com/google/benchmark.git) registered for path 'thirdparty/google/benchmark'
Submodule 'thirdparty/google/googletest' (https://github.com/google/googletest.git) registered for path 'thirdparty/google/googletest'
Submodule 'thirdparty/libpqxx' (https://github.com/jtv/libpqxx.git) registered for path 'thirdparty/libpqxx'
Submodule 'thirdparty/spdlog' (https://github.com/gabime/spdlog.git) registered for path 'thirdparty/spdlog'
Cloning into '/home/fbggroup/hdbpp-timescale-project/external/libhdbpp-timescale/thirdparty/Catch2'...
Cloning into '/home/fbggroup/hdbpp-timescale-project/external/libhdbpp-timescale/thirdparty/google/benchmark'...
Cloning into '/home/fbggroup/hdbpp-timescale-project/external/libhdbpp-timescale/thirdparty/google/googletest'...
Cloning into '/home/fbggroup/hdbpp-timescale-project/external/libhdbpp-timescale/thirdparty/libpqxx'...
Cloning into '/home/fbggroup/hdbpp-timescale-project/external/libhdbpp-timescale/thirdparty/spdlog'...
Submodule path 'thirdparty/Catch2': checked out '2f631bb8087a0355d2b23a75a28d936ce237659d'
Submodule path 'thirdparty/google/benchmark': checked out '090faecb454fbd6e6e17a75ef8146acb037118d4'
Submodule path 'thirdparty/google/googletest': checked out '2ef13f524b837a68bae27ae1123da0400dff6285'
Submodule path 'thirdparty/libpqxx': checked out 'a6b1d60e74c1427c8ac2324b85cd4a0dc2068332'
Submodule path 'thirdparty/spdlog': checked out '1549ff12f1aa61ffc4d9a8727c519034724392a0'
[ 33%] No patch step for 'libhdbpp_timescale-populate'
[ 44%] Performing update step for 'libhdbpp_timescale-populate'
Current branch project-build2 is up to date.
[ 55%] No configure step for 'libhdbpp_timescale-populate'
[ 66%] No build step for 'libhdbpp_timescale-populate'
[ 77%] No install step for 'libhdbpp_timescale-populate'
[ 88%] No test step for 'libhdbpp_timescale-populate'
[100%] Completed 'libhdbpp_timescale-populate'
[100%] Built target libhdbpp_timescale-populate
-- Searching for libraries...
-- Found Git: /usr/bin/git (found version "2.17.1")
-- git Version: v1.5.0
-- Version: 1.5.0
-- Performing Test HAVE_CXX_FLAG_STD_CXX11
-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
CMake Warning at external/libhdbpp-timescale/thirdparty/google/googletest/googletest/CMakeLists.txt:54 (project):
VERSION keyword not followed by a value or was followed by a value that
expanded to nothing.
-- Found PythonInterp: /usr/bin/python (found version "2.7.17")
-- Looking for C++ include sys/select.h
-- Looking for C++ include sys/select.h - found
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for poll
-- Looking for poll - found
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting std::optional
-- Detecting std::optional - not supported
-- Detecting std::experimental::optional
-- Detecting std::experimental::optional - supported
-- Detecting attribute ((const))
-- Detecting attribute ((const)) - supported
-- Detecting attribute ((pure))
-- Detecting attribute ((pure)) - supported
-- Detecting attribute ((visibility))
-- Detecting attribute ((visibility)) - supported
-- Generating config.h
-- Generating config.h - done
-- Found PostgreSQL: /usr/lib/aarch64-linux-gnu/libpq.so (found version "10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)")
-- Build spdlog: 1.4.2
-- Build type: Release
-- Configuring incomplete, errors occurred!
See also "/home/fbggroup/hdbpp-timescale-project/build/CMakeFiles/CMakeOutput.log".
See also "/home/fbggroup/hdbpp-timescale-project/build/CMakeFiles/CMakeError.log".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.