tasks.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "debug run riscv64",
  8. "type": "shell",
  9. "command": "make srun ARCH=riscv64",
  10. "isBackground": true,
  11. "problemMatcher": [
  12. {
  13. "owner": "rustc",
  14. "fileLocation": [
  15. "relative",
  16. "${workspaceFolder}"
  17. ],
  18. "pattern": {
  19. "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
  20. "file": 1,
  21. "line": 2,
  22. "column": 3,
  23. "severity": 4,
  24. "message": 5
  25. },
  26. "background": {
  27. "activeOnStart": true,
  28. "beginsPattern": "cargo build",
  29. "endsPattern": "qemu"
  30. }
  31. }
  32. ],
  33. "presentation": {
  34. "echo": false,
  35. "reveal": "always",
  36. "focus": false,
  37. "panel": "shared",
  38. "showReuseMessage": false,
  39. "clear": true
  40. },
  41. "group": {
  42. "kind": "build",
  43. "isDefault": true
  44. }
  45. },
  46. {
  47. "label": "kill qemu riscv64",
  48. "type": "shell",
  49. "command": "killall qemu-system-riscv64",
  50. "presentation": {
  51. "echo": false,
  52. "reveal": "never",
  53. "focus": false,
  54. "panel": "shared",
  55. "showReuseMessage": false,
  56. "clear": true
  57. },
  58. "group": {
  59. "kind": "none",
  60. }
  61. },
  62. {
  63. "label": "debug run x86_64",
  64. "type": "shell",
  65. "command": "make srun ARCH=x86_64",
  66. "isBackground": true,
  67. "problemMatcher": [
  68. {
  69. "owner": "rustc",
  70. "fileLocation": [
  71. "relative",
  72. "${workspaceFolder}"
  73. ],
  74. "pattern": {
  75. "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
  76. "file": 1,
  77. "line": 2,
  78. "column": 3,
  79. "severity": 4,
  80. "message": 5
  81. },
  82. "background": {
  83. "activeOnStart": true,
  84. "beginsPattern": "cargo build",
  85. "endsPattern": "qemu"
  86. }
  87. }
  88. ],
  89. "presentation": {
  90. "echo": false,
  91. "reveal": "always",
  92. "focus": false,
  93. "panel": "shared",
  94. "showReuseMessage": false,
  95. "clear": true
  96. },
  97. "group": {
  98. "kind": "build",
  99. "isDefault": true
  100. }
  101. },
  102. {
  103. "label": "kill qemu x86_64",
  104. "type": "shell",
  105. "command": "killall qemu-system-x86_64",
  106. "presentation": {
  107. "echo": false,
  108. "reveal": "never",
  109. "focus": false,
  110. "panel": "shared",
  111. "showReuseMessage": false,
  112. "clear": true
  113. },
  114. "group": {
  115. "kind": "none",
  116. }
  117. }
  118. ]
  119. }