Skip to content

Instantly share code, notes, and snippets.

@yibojiang
Created January 1, 2017 18:20
Show Gist options
  • Save yibojiang/52933cbf6c4b0cd806baf8a17556a6fc to your computer and use it in GitHub Desktop.
Save yibojiang/52933cbf6c4b0cd806baf8a17556a6fc to your computer and use it in GitHub Desktop.

Revisions

  1. yibojiang created this gist Jan 1, 2017.
    14 changes: 14 additions & 0 deletions openmp.sublime-build
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    {
    "shell_cmd": "clang-omp++ \"${file}\" -o \"${file_path}/${file_base_name}\"",
    "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
    "working_dir": "${file_path}",
    "selector": "source.c, source.c++",

    "variants":
    [
    {
    "name": "Run",
    "shell_cmd": "clang-omp++ \"${file}\" -fopenmp -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""
    }
    ]
    }