Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
gekkofs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
hpc
gekkofs
Commits
4af6da6c
Commit
4af6da6c
authored
4 years ago
by
David Auer
Browse files
Options
Downloads
Patches
Plain Diff
TMP: vscode settings
parent
fdf50e1a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.vscode/c_cpp_properties.json
+18
-0
18 additions, 0 deletions
.vscode/c_cpp_properties.json
.vscode/launch.json
+93
-0
93 additions, 0 deletions
.vscode/launch.json
.vscode/settings.json
+54
-0
54 additions, 0 deletions
.vscode/settings.json
with
165 additions
and
0 deletions
.vscode/c_cpp_properties.json
0 → 100644
+
18
−
0
View file @
4af6da6c
{
"configurations"
:
[
{
"name"
:
"Linux"
,
"includePath"
:
[
"${workspaceFolder}/include/"
,
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_deps/install/include/**"
],
"defines"
:
[],
"compilerPath"
:
"/usr/bin/gcc"
,
"cStandard"
:
"c11"
,
"cppStandard"
:
"c++14"
,
"intelliSenseMode"
:
"gcc-x64"
,
"configurationProvider"
:
"ms-vscode.cmake-tools"
}
],
"version"
:
4
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.vscode/launch.json
0 → 100644
+
93
−
0
View file @
4af6da6c
{
//
Use
IntelliSense
to
learn
about
possible
attributes.
//
Hover
to
view
descriptions
of
existing
attributes.
//
For
more
information
,
visit:
https://go.microsoft.com/fwlink/?linkid=
830387
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"name"
:
"gekkofs daemon"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/build/src/daemon/gkfs_daemon"
,
"args"
:
[
"-r"
,
"/dev/shm/gkfs_rootdir"
,
"-m"
,
"/dev/shm/gkfs_mountdir"
,
"-H"
,
"/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile"
,
"-l"
,
"enp0s25"
,
"--shuffle"
,
],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[
{
"name"
:
"GKFS_DAEMON_LOG_PATH"
,
"value"
:
"/dev/shm/dauer_gkfs_daemon_vsdebug.log"
}
],
/*
GKFS_DAEMON_LOG_PATH=/dev/shm/dauer_gkfs_daemon.log
((/run/media/da/rocket
1
tb/gekko-localinstall/gekkofs/build/src/daemon/gkfs_daemon
))
-r
/dev/shm/gkfs_rootdir
-m
/dev/shm/gkfs_mountdir
-H
/run/media/da/rocket
1
tb/gekko-localinstall/gkfs_hostfile
-l
enp
0
s
25
'
*/
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
]
},
{
"name"
:
"test gekkofs client debug"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/build/src/client_debug_helper/client_debug_helper"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[
{
"name"
:
"LD_PRELOAD"
,
"value"
:
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs/build/src/client/libgkfs_intercept.so"
,},
{
"name"
:
"LIBGKFS_LOG"
,
"value"
:
"info"
},
//most
{
"name"
:
"LIBGKFS_HOSTS_FILE"
,
"value"
:
"/run/media/da/rocket1tb/gekko-localinstall/gkfs_hostfile"
},
{
"name"
:
"LIBGKFS_LOG_OUTPUT"
,
"value"
:
"/dev/shm/dauer_gkfs_client_debug.log"
},
],
/*
#export
LIBGKFS_LOG=info
export
LIBGKFS_LOG=most
export
LIBGKFS_HOSTS_FILE=/run/media/da/rocket
1
tb/gekko-localinstall/gkfs_hostfile
export
LIBGKFS_LOG_OUTPUT=/dev/shm/dauer_gkfs_client.log
*/
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
]
},
{
"name"
:
"just run the helper"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/build/src/client_debug_helper/client_debug_helper"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[
],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
]
},
]
}
This diff is collapsed.
Click to expand it.
.vscode/settings.json
0 → 100644
+
54
−
0
View file @
4af6da6c
{
"cmake.generator"
:
"Unix Makefiles"
,
"cmake.configureSettings"
:
{
"CMAKE_BUILD_TYPE"
:
"Debug"
,
"CMAKE_PREFIX_PATH"
:
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_deps/install"
,
"USE_SHM"
:
"OFF"
,
"DRPC_PROTOCOL"
:
"ofi+sockets"
,
//
"CMAKE_MAKE_PROGRAM"
:
"/usr/bin/gmake"
,
},
"cmake.environment"
:
{
"LD_LIBRARY_PATH"
:
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64:${env.LD_LIBRARY_PATH}"
,
"C_INCLUDE_PATH"
:
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include"
,
"CPLUS_INCLUDE_PATH"
:
"${env.CPLUS_INCLUDE_PATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include"
,
"CPATH"
:
"${env.CPATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include"
,
"LIBRARY_PATH"
:
"${env.LIBRARY_PATH}:/lib64:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64"
,
"LDFLAGS"
:
"-L/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib/"
,
"CPPFLAGS"
:
"-I/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include/"
,
"CC"
:
"/usr/bin/gcc"
,
"CXX"
:
"/usr/bin/g++"
,
},
}
/*
https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html
https://vector-of-bool.github.io/docs/vscode-cmake-tools/settings.html#var-subs
raw
INSTALL_PATH=
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install"
export
LD_LIBRARY_PATH=$
{
INSTALL_PATH
}
/lib:$
{
INSTALL_PATH
}
/lib
64
:$
{
LD_LIBRARY_PATH
}
export
C_INCLUDE_PATH=$
{
INSTALL_PATH
}
/include
export
CPLUS_INCLUDE_PATH=$
{
CPLUS_INCLUDE_PATH
}
:$
{
INSTALL_PATH
}
/include
export
CPATH=$CPATH:$
{
INSTALL_PATH
}
/include
export
LIBRARY_PATH=$
{
LIBRARY_PATH
}
:/lib
64
:$
{
INSTALL_PATH
}
/lib:$
{
INSTALL_PATH
}
/lib
64
export
LDFLAGS=
"-L${INSTALL_PATH}/lib/"
export
CPPFLAGS=
"-I${INSTALL_PATH}/include/"
export
CC=$(which
gcc)
export
CXX=$(which
g++)
substitutions
INSTALL_PATH=
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install"
"LD_LIBRARY_PATH"
:
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64:${env.LD_LIBRARY_PATH}"
,
"C_INCLUDE_PATH"
:
"/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include"
,
"CPLUS_INCLUDE_PATH"
:
"${env.CPLUS_INCLUDE_PATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include"
,
"CPATH"
:
"${env.CPATH}:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include"
,
"LIBRARY_PATH"
:
"${env.LIBRARY_PATH}:/lib64:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib:/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib64"
,
"LDFLAGS"
:
"-L/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/lib/"
,
"CPPFLAGS"
:
"-I/run/media/da/rocket1tb/gekko-localinstall/gekkofs_install/include/"
,
CC=$(which
gcc)
CXX=$(which
g++)
*/
\ No newline at end of file
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