File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Built soci using Oracle instance client 23.
3+ # Oracle Instant Client: https://www.oracle.com/database/technologies/instant-client/downloads.html
4+ # soci: https://github.com/SOCI/soci
5+ # soci should use the latest version (4.x)
6+
7+ rm -rf build
8+
9+ mkdir build
10+ cd build
11+
12+ # Instant client path setting
13+ export ORACLE_INSTANT_CLIENT=/home/j2/workspace/oracle/instantclient_23_9
14+
15+ # LD_LIBRARY_PATH settings must be added to environmental settings such as .bashrc in the future for Oracle use
16+ export LD_LIBRARY_PATH=$ORACLE_INSTANT_CLIENT :$LD_LIBRARY_PATH
17+
18+ # Build Oracle Only
19+ cmake -S .. \
20+ -B build-oracle \
21+ -DSOCI_TESTS=OFF \
22+ -DSOCI_EXAMPLES=OFF \
23+ -DSOCI_BENCH=OFF \
24+ -DSOCI_ORACLE=ON \
25+ -DSOCI_ODBC=OFF \
26+ -DSOCI_MYSQL=OFF \
27+ -DSOCI_POSTGRESQL=OFF \
28+ -DSOCI_SQLITE3=OFF \
29+ -DSOCI_FIREBIRD=OFF \
30+ -DSOCI_DB2=OFF \
31+ -DOracle_VERSIONS=" 23;21;20;19;18;12;11;10" \
32+ -DOracle_INCLUDE_DIRS=$ORACLE_INSTANT_CLIENT /sdk/include \
33+ -DOracle_LIBRARIES=$ORACLE_INSTANT_CLIENT /libclntsh.so
34+
35+ cmake --build build-oracle -j
You can’t perform that action at this time.
0 commit comments