Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rdma-mwe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
rdma-mwe
Commits
c7de92cc
Commit
c7de92cc
authored
Feb 13, 2024
by
Titouan Soulard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
example: follow naming convention of bridge
parent
b67c4205
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
Makefile
Makefile
+13
-5
example/rdma_test.c
example/rdma_test.c
+0
-0
No files found.
Makefile
View file @
c7de92cc
...
...
@@ -4,16 +4,24 @@ LIB_FLAGS =-lc -ldl -lm -libverbs -lpthread -L./out
# Libraries after `--no-as-needed` are forcefully loaded: they are required by Amarisoft libraries
FORCE_LIB_FLAGS
=
-Wl
,--no-as-needed
-lm
-lpthread
all
:
out/libcapulet.so out/libpotoml.so out/libtrx_rdma.so out/libtrx_play.so out/rdma
_standalone out/generate_iq_
samples out/trx-bridge
all
:
out/libcapulet.so out/libpotoml.so out/libtrx_rdma.so out/libtrx_play.so out/rdma
-test out/generate-iq-
samples out/trx-bridge
install
:
all
ln
-sfr
out/libcapulet.so /usr/local/lib/
ln
-sfr
out/libtrx_rdma.so /usr/local/lib/
ln
-sfr
out/libpotoml.so /usr/local/lib/
ldconfig
ln
-sfr
out/rdma_standalone /usr/local/bin/
ln
-sfr
out/rdma-test /usr/local/bin/
ln
-sfr
out/generate-iq-samples /usr/local/bin/
ln
-sfr
out/trx-bridge /usr/local/bin/
uninstall
:
rm
/usr/local/lib/libcapulet.so
||
:
rm
/usr/local/lib/libpotoml.so
||
:
ldconfig
rm
/usr/local/bin/rdma-test
||
:
rm
/usr/local/bin/generate-iq-samples
||
:
rm
/usr/local/bin/trx-bridge
||
:
clean
:
rm
out/
*
||
:
rm
**
/
*
.o
||
:
...
...
@@ -37,10 +45,10 @@ out/libtrx_rdma.so: common/circular_buffer.lo libtrx/trx_rdma.lo
out/libtrx_play.so
:
common/circular_buffer.lo libtrx/trx_play.lo
gcc
-shared
-fPIC
-DPIC
-o
$@
$^
$(LIB_FLAGS)
out/rdma
_standalone
:
example/rdma_standalone
.o out/libcapulet.so
out/rdma
-test
:
example/rdma_test
.o out/libcapulet.so
gcc
$(CFLAGS)
-o
$@
$<
$(LIB_FLAGS)
-lcapulet
out/generate
_iq_
samples
:
example/generate_iq_samples.o
out/generate
-iq-
samples
:
example/generate_iq_samples.o
gcc
$(CFLAGS)
-o
$@
$^
$(LIB_FLAGS)
out/trx-bridge
:
trx-bridge/bridge.o out/libpotoml.so
...
...
example/rdma_
standalone
.c
→
example/rdma_
test
.c
View file @
c7de92cc
File moved
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