Skip to content

Commit

Permalink
Feat: add ubuntu jammy build (#2452)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 authored Aug 18, 2023
1 parent 32cbeaf commit 3a47ac2
Show file tree
Hide file tree
Showing 177 changed files with 2,079 additions and 2,222 deletions.
66 changes: 65 additions & 1 deletion .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,71 @@
"compilerPath": "/usr/bin/clang",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "macos-clang-arm64"
"intelliSenseMode": "macos-clang-arm64",
"compilerPathInCppPropertiesJson": "/usr/bin/gcc",
"mergeConfigurations": false,
"browse": {
"path": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include",
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.3/include",
"${workspaceFolder}/**",
"/usr/local/include",
"/usr/local/opt/boost/include",
"/usr/local/opt/gdal/include",
"/usr/local/opt/boost/include",
"${workspaceFolder}/BuildTools/macosx/libraries/include",
"${workspaceFolder}/BuildTools/macosx/libraries/include/wx-3.2",
"${workspaceFolder}/BuildTools/macosx/libraries/lib/wx/include/osx_cocoa-unicode-3.2",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
},
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/BuildTools/ubuntu/libraries/lib/wx/include/gtk3-unicode-static-3.1",
"${workspaceFolder}/BuildTools/ubuntu/libraries/include",
"${workspaceFolder}/BuildTools/ubuntu/libraries/include/wx-3.1",
"${workspaceFolder}/BuildTools/ubuntu/temp/boost",
"/usr/include/gdal",
"/usr/include",
"/usr/include/c++/11",
"/usr/include/x86_64-linux-gnu/c++/11",
"${workspaceFolder}/BuildTools/ubuntu/temp/eigen3",
"${workspaceFolder}/BuildTools/ubuntu/temp/spectra/include"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"intelliSenseMode": "linux-gcc-x64",
"compilerArgs": [
"-D_FILE_OFFSET_BITS=64",
"-DwxDEBUG_LEVEL=0",
"-D__WXGTK__",
"-D__PROJ6__",
"-std=gnu++14"
],
"cppStandard": "c++17",
"compilerPathInCppPropertiesJson": "/usr/bin/gcc",
"cStandard": "c11",
"mergeConfigurations": false,
"browse": {
"path": [
"${workspaceFolder}/**",
"${workspaceFolder}/BuildTools/ubuntu/libraries/lib/wx/include/gtk3-unicode-static-3.1",
"${workspaceFolder}/BuildTools/ubuntu/libraries/include",
"${workspaceFolder}/BuildTools/ubuntu/libraries/include/wx-3.1",
"${workspaceFolder}/BuildTools/ubuntu/temp/boost",
"/usr/include/gdal",
"/usr/include",
"/usr/include/c++/11",
"${workspaceFolder}/BuildTools/ubuntu/temp/eigen3",
"${workspaceFolder}/BuildTools/ubuntu/temp/spectra/include",
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
}
}
],
"version": 4
Expand Down
91 changes: 49 additions & 42 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,53 @@
{
// 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":"Python: Current File","type":"python","request":"launch","program":"${file}","console":"integratedTerminal"},
// 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": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal",
"justMyCode": true
},
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/BuildTools/ubuntu/build/GeoDa",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "(gdb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/BuildTools/ubuntu/build/GeoDa",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [
{
"name": "LD_LIBRARY_PATH",
"value": "${workspaceFolder}/BuildTools/ubuntu/build/plugins"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
},
"name": "LD_LIBRARY_PATH",
"value": "${workspaceFolder}/BuildTools/ubuntu/build/plugins"
}
],
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"name": "(macos llvm) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/BuildTools/macosx/debug/GeoDa",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"preLaunchTask": "clang++ build active file"
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
},
{
"name": "(macos llvm) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/BuildTools/macosx/debug/GeoDa",
"args": [],
"stopAtEntry": true,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb",
"preLaunchTask": "clang++ build active file"
}
]
}
7 changes: 6 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,10 @@
],
"C_Cpp.default.cStandard": "c11",
"C_Cpp.default.cppStandard": "c++17",
"C_Cpp.default.cpplint.filters": "CPPLINT.cfg"
"C_Cpp.default.cpplint.filters": "CPPLINT.cfg",
"[python]": {
"editor.defaultFormatter": "ms-python.autopep8"
},
"python.formatting.provider": "none",
"activestate.promptRuntimeCreation": false
}
Loading

0 comments on commit 3a47ac2

Please sign in to comment.