aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/swig.conf
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-09-18 13:34:23 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-09-18 14:04:30 +0300
commitf9c6de928b8fc9f18206ef247aeb56127adb3107 (patch)
tree7e10df929e44296769455f5e9f2c48e03733991b /build/conf/swig.conf
parent5a92b71af7de6553080153a01c343e6859ce93fc (diff)
downloadydb-f9c6de928b8fc9f18206ef247aeb56127adb3107.tar.gz
Use swig from Arcadia
Diffstat (limited to 'build/conf/swig.conf')
-rw-r--r--build/conf/swig.conf41
1 files changed, 8 insertions, 33 deletions
diff --git a/build/conf/swig.conf b/build/conf/swig.conf
index 7bd42ebf53..92f1eefbae 100644
--- a/build/conf/swig.conf
+++ b/build/conf/swig.conf
@@ -1,37 +1,12 @@
-USE_LOCAL_SWIG=no
-SWIG_TOOL=no
-SWIG_LIBRARY=no
-_SWIG_PYTHON_ADDINCLS=
-_SWIG_PERL_ADDINCLS=
-_SWIG_JNI_ADDINCLS=
-
-when ($USE_LOCAL_SWIG == "no") {
- _SWIG_TOOL=${tool:"contrib/tools/swig"}
- _SWIG_LIBRARY_ABS=$ARCADIA_ROOT/$_SWIG_LIBRARY
-
- _SWIG_LIBRARY=contrib/tools/swig/Lib
- _SWIG_PYTHON_ADDINCLS=FOR swig ${_SWIG_LIBRARY}/python FOR swig ${_SWIG_LIBRARY}
- _SWIG_PERL_ADDINCLS=FOR swig ${_SWIG_LIBRARY}/perl5 FOR swig ${_SWIG_LIBRARY}
- _SWIG_JNI_ADDINCLS=FOR swig ${_SWIG_LIBRARY}/java FOR swig $_SWIG_LIBRARY
-}
-otherwise {
- when ($SWIG_TOOL != "no") {
- _SWIG_TOOL=$SWIG_TOOL
- }
- otherwise {
- _SWIG_TOOL=${USE_LOCAL_SWIG}/bin/swig
- }
+_SWIG_TOOL=${tool:"contrib/tools/swig"}
+
+_SWIG_LIBRARY=contrib/tools/swig/Lib
+_SWIG_LIBRARY_ABS=$ARCADIA_ROOT/$_SWIG_LIBRARY
+
+_SWIG_PYTHON_ADDINCLS=FOR swig ${_SWIG_LIBRARY}/python FOR swig ${_SWIG_LIBRARY}
+_SWIG_PERL_ADDINCLS=FOR swig ${_SWIG_LIBRARY}/perl5 FOR swig ${_SWIG_LIBRARY}
+_SWIG_JNI_ADDINCLS=FOR swig ${_SWIG_LIBRARY}/java FOR swig $_SWIG_LIBRARY
- when ($SWIG_LIBRARY != "no") {
- _SWIG_LIBRARY_ABS=$SWIG_LIBRARY
- }
- elsewhen ($OS_WINDOWS == "yes") {
- _SWIG_LIBRARY_ABS=${USE_LOCAL_SWIG}/bin/Lib
- }
- otherwise {
- _SWIG_LIBRARY_ABS=${USE_LOCAL_SWIG}/share/swig
- }
-}
SWIG_IMPLICIT_INCLUDES = swig.swg go.swg java.swg perl5.swg python.swg
_SWIG_CMD=$_SWIG_PYTHON_CMD