Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
13e3805e
Commit
13e3805e
authored
Aug 14, 2019
by
Ralf Mueller
🎣
Browse files
make SWIG mandatory for rb/py interface generation
add testfile dependency to python test
parent
e096bc25
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
13e3805e
...
...
@@ -297,7 +297,7 @@ AC_ARG_ENABLE([ruby],
CPPFLAGS=$save_CPPFLAGS
AS_IF([test "x$RUBY" != "x"],
[AS_IF([test "x$SWIG" = "x"],
[AC_MSG_
NOTICE
([Ruby bindings:
Swig is disabled, pregenerated files will be used. Use
'--enable-swig'
for swig usage
])])],
[AC_MSG_
ERROR
([Ruby bindings:
Please enable SWIG with
'--enable-swig'
!
])])],
[AS_IF([test `$SWIG -help 2>&1 | $GREP -c '\-ruby *- Generate'` = 0],
[AC_MSG_NOTICE([No (swig does not support -ruby option)])
enable_ruby=no
...
...
@@ -323,7 +323,7 @@ AC_ARG_ENABLE(python,
done
AS_IF([test "x$enable_python" != "xno"],
[AS_IF([test "x$SWIG" = "x"],
[AC_MSG_
NOTICE
([Python bindings:
Swig is disabled, pregenerated files will be used. Use
'--enable-swig'
for swig usage
])],
[AC_MSG_
ERROR
([Python bindings:
Please enable SWIG with
'--enable-swig'
!
])],
[PYTHON=])],
[AS_IF([test `$SWIG -help 2>&1 | $GREP -c '\-python *- Generate'` = 0],
[AC_MSG_NOTICE([No (swig does not support -python option)])
...
...
interfaces/Makefile.am
View file @
13e3805e
...
...
@@ -82,7 +82,7 @@ $(PYTHON_SHARED_LIB): $(PYTHON_WRAPPER_FILE) $(abs_top_srcdir)/interfaces/python
python-binding
:
$(PYTHON_SHARED_LIB)
pythonTest
:
$(abs_top_srcdir)/interfaces/python/test.py
pythonTest
:
$(abs_top_srcdir)/interfaces/python/test.py
mulval.nc
@
cd
python
;
python
$<
install-python
:
$(PYTHON_SHARED_LIB) mulval.nc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment