Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
3cd64d9b
Commit
3cd64d9b
authored
1 year ago
by
Thomas Jahns
Browse files
Options
Downloads
Patches
Plain Diff
Fix generation of python SO with libtool.
parent
521588b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!91
Add alternative code path for huge buffers.
,
!89
Miscellaneous fixes and CDI-PIO improvements
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
configure.ac
+1
-0
1 addition, 0 deletions
configure.ac
interfaces/Makefile.am
+5
-16
5 additions, 16 deletions
interfaces/Makefile.am
interfaces/python/Makefile.am
+24
-0
24 additions, 0 deletions
interfaces/python/Makefile.am
with
30 additions
and
16 deletions
configure.ac
+
1
−
0
View file @
3cd64d9b
...
@@ -728,6 +728,7 @@ AC_CONFIG_FILES([
...
@@ -728,6 +728,7 @@ AC_CONFIG_FILES([
examples/Makefile
examples/Makefile
examples/pio/Makefile
examples/pio/Makefile
interfaces/Makefile
interfaces/Makefile
interfaces/python/Makefile
src/Makefile
src/Makefile
src/cmake/cdi/cdi-config-version.cmake
src/cmake/cdi/cdi-config-version.cmake
src/cmake/cdi/cdi-config.cmake
src/cmake/cdi/cdi-config.cmake
...
...
This diff is collapsed.
Click to expand it.
interfaces/Makefile.am
+
5
−
16
View file @
3cd64d9b
...
@@ -7,6 +7,7 @@ test_PROGRAMS_ = CdiInfo
...
@@ -7,6 +7,7 @@ test_PROGRAMS_ = CdiInfo
CdiInfo_SOURCES
=
CdiInfo.cpp
CdiInfo_SOURCES
=
CdiInfo.cpp
CdiInfo_LDADD
=
libcdipp.la
CdiInfo_LDADD
=
libcdipp.la
AM_CXXFLAGS
=
-static
AM_CPPFLAGS
=
-I
$(
abs_top_srcdir
)
/src
AM_CPPFLAGS
=
-I
$(
abs_top_srcdir
)
/src
...
@@ -15,6 +16,8 @@ install_exec_local =
...
@@ -15,6 +16,8 @@ install_exec_local =
uninstall_local
=
uninstall_local
=
clean_local
=
clean_local
=
SUBDIRS
=
python
if
ENABLE_RUBY_INTERFACE
if
ENABLE_RUBY_INTERFACE
V_MAKERUBY
=
$(
v_MAKERUBY_@AM_V@
)
V_MAKERUBY
=
$(
v_MAKERUBY_@AM_V@
)
v_MAKERUBY_
=
$(
v_MAKERUBY_@AM_DEFAULT_V@
)
v_MAKERUBY_
=
$(
v_MAKERUBY_@AM_DEFAULT_V@
)
...
@@ -40,7 +43,7 @@ ruby/Cdi.la: ruby/cdi_wrapper.cpp ruby/Makefile libcdipp.la
...
@@ -40,7 +43,7 @@ ruby/Cdi.la: ruby/cdi_wrapper.cpp ruby/Makefile libcdipp.la
TIMESTAMP_DIR
=
'.dirstamp'
\
TIMESTAMP_DIR
=
'.dirstamp'
\
CDI_INCFLAGS
=
'-I
$(
abs_srcdir
)
'
\
CDI_INCFLAGS
=
'-I
$(
abs_srcdir
)
'
\
CDI_CPPFLAGS
=
'
$(
AM_CPPFLAGS
)
$(
CPPFLAGS
)
'
\
CDI_CPPFLAGS
=
'
$(
AM_CPPFLAGS
)
$(
CPPFLAGS
)
'
\
CDI_CXXFLAGS
=
'
$(
AM_CXXFLAGS
)
-shared
$(
CXXFLAGS
)
'
\
CDI_CXXFLAGS
=
'-shared
$(
CXXFLAGS
)
'
\
CDI_LDFLAGS
=
'
$(
AM_LDFLAGS
)
-module -avoid-version
$(
LDFLAGS
)
-rpath
$$(
RUBYARCHDIR
)
'
\
CDI_LDFLAGS
=
'
$(
AM_LDFLAGS
)
-module -avoid-version
$(
LDFLAGS
)
-rpath
$$(
RUBYARCHDIR
)
'
\
CDI_LIBS
=
'
$(
LIBS
)
'
\
CDI_LIBS
=
'
$(
LIBS
)
'
\
CCDLFLAGS
=
\
CCDLFLAGS
=
\
...
@@ -101,16 +104,8 @@ endif !with_on_demand_check_programs
...
@@ -101,16 +104,8 @@ endif !with_on_demand_check_programs
endif
ENABLE_RUBY_INTERFACE
endif
ENABLE_RUBY_INTERFACE
AUTOMAKE_OPTIONS
=
subdir-objects
AUTOMAKE_OPTIONS
=
subdir-objects
if
ENABLE_PYTHON_INTERFACE
python_PYTHON
=
python/Cdi.py
pyexec_LTLIBRARIES
=
python/_Cdi.la
python__Cdi_la_SOURCES
=
python/cdi_wrapper.cpp
python__Cdi_la_CPPFLAGS
=
$(
AM_CPPFLAGS
)
$(
PYTHON_CPPFLAGS
)
python__Cdi_la_CXXFLAGS
=
$(
AM_CXXFLAGS
)
-shared
python__Cdi_la_LDFLAGS
=
$(
AM_LDFLAGS
)
-module
-avoid-version
python__Cdi_la_LIBADD
=
libcdipp.la
$(
PYTHON_LIBS
)
if
ENABLE_PYTHON_INTERFACE
if
with_on_demand_check_programs
if
with_on_demand_check_programs
check_PROGRAMS
=
$(
test_PROGRAMS_
)
check_PROGRAMS
=
$(
test_PROGRAMS_
)
else
!with_on_demand_check_programs
else
!with_on_demand_check_programs
...
@@ -122,12 +117,6 @@ if MAINTAINER_MODE
...
@@ -122,12 +117,6 @@ if MAINTAINER_MODE
ruby/cdi_wrapper.cpp
:
cdi.i cdi.hpp
ruby/cdi_wrapper.cpp
:
cdi.i cdi.hpp
$(
AM_V_GEN
)$(
MKDIR_P
)
$(
@D
)
&&
$(
SWIG
)
-ruby
-c
++
-globalmodule
-o
$@
$<
$(
AM_V_GEN
)$(
MKDIR_P
)
$(
@D
)
&&
$(
SWIG
)
-ruby
-c
++
-globalmodule
-o
$@
$<
python/Cdi.py
:
cdi.i cdi.hpp
$(
AM_V_GEN
)$(
SWIG
)
-python
-c
++
-o
python/cdi_wrapper.cpp
$<
python/cdi_wrapper.cpp
:
python/Cdi.py
$(
AM_V_at
)
test
-f
$@
||
rm
-f
$<
$(
AM_V_at
)
test
-f
$@
||
$(
MAKE
)
$(
AM_MAKEFLAGS
)
$<
else
!MAINTAINER_MODE
else
!MAINTAINER_MODE
ruby/cdi_wrapper.cpp python/Cdi.py python/cdi_wrapper.cpp
:
ruby/cdi_wrapper.cpp python/Cdi.py python/cdi_wrapper.cpp
:
@
:
;
{
\
@
:
;
{
\
...
...
This diff is collapsed.
Click to expand it.
interfaces/python/Makefile.am
0 → 100644
+
24
−
0
View file @
3cd64d9b
if
ENABLE_PYTHON_INTERFACE
python_PYTHON
=
Cdi.py
pyexec_LTLIBRARIES
=
_Cdi.la
_Cdi_la_SOURCES
=
cdi_wrapper.cpp
_Cdi_la_CPPFLAGS
=
$(
AM_CPPFLAGS
)
$(
PYTHON_CPPFLAGS
)
AM_CXXFLAGS
=
-shared
AM_LDFLAGS
=
-module
-avoid-version
AM_CPPFLAGS
=
-I
$(
srcdir
)
/..
-I
$(
top_srcdir
)
/src
_Cdi_la_LIBADD
=
../libcdipp.la
$(
PYTHON_LIBS
)
../libcdipp.la
:
$(
am__cd
)
..
&&
$(
MAKE
)
libcdipp.la
endif
ENABLE_PYTHON_INTERFACE
if
MAINTAINER_MODE
Cdi.py
:
../cdi.i ../cdi.hpp
$(
AM_V_GEN
)$(
SWIG
)
-python
-c
++
-o
cdi_wrapper.cpp
$<
cdi_wrapper.cpp
:
Cdi.py
$(
AM_V_at
)
test
-f
$@
||
rm
-f
$<
$(
AM_V_at
)
test
-f
$@
||
$(
MAKE
)
$(
AM_MAKEFLAGS
)
$<
endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment