llvm中的“omp.h”在哪里?

时间:2017-07-16 10:26:02

标签: llvm

请告诉我,操作系统中的“omp.h”文件在哪里?我使用llvm(不是GCC或Clang)。

<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="row">
  <div class="day weekDay">
    <label class="dayTitle" for="text">Mon Jun 5</label>
    <div class="details">
      <div data-placement="right" data-toggle="tooltip" title="" class="DailyLoanInterestShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Daily interest&nbsp;</span>
          <span class="eventright ">$32</span>
        </div>
      </div>
    </div>
  </div>
  <div class="day weekDay">
    <label class="dayTitle" for="text">Tue Jun 6</label>
    <div class="details">
      <div data-placement="right" data-toggle="tooltip" title="" class="DailyLoanInterestShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Daily interest&nbsp;</span>
          <span class="eventright ">$32</span>
        </div>
      </div>
    </div>
  </div>
  <div class="day weekDay">
    <label class="dayTitle" for="text">Wed Jun 7</label>
    <div class="details">
      <div data-placement="right" data-toggle="tooltip" title="Fortnightly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Registration 1&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="" class="DailyLoanInterestShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Daily interest&nbsp;</span>
          <span class="eventright ">$32</span>
        </div>
      </div>
    </div>
  </div>
  <div class="day weekDay">
    <label class="dayTitle" for="text">Thu Jun 8</label>
    <div class="details">
      <div data-placement="right" data-toggle="tooltip" title="Fortnightly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Water Rates&nbsp;</span>
          <span class="eventright ">$1,000</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Weekly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Electricity&nbsp;</span>
          <span class="eventright ">$33</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Fortnightly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Internet&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Weekly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Mobile 1&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Weekly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Registration 1&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Fortnightly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Service/Repairs&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Weekly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Fuel&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Fortnightly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Fuel&nbsp;</span>
          <span class="eventright ">$44</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Fortnightly" class="ExpenseShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Roadside Care&nbsp;</span>
          <span class="eventright ">$444</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Weekly" class="IncomeShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Net Salary or Wages&nbsp;</span>
          <span class="eventright ">$2,200</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="Weekly" class="IncomeShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Overtime&nbsp;</span>
          <span class="eventright ">$1,000</span>
        </div>
      </div>
      <div data-placement="right" data-toggle="tooltip" title="" class="DailyLoanInterestShow row event">
        <div class="col-md-12">
          <span class=" eventleft">Daily interest&nbsp;</span>
          <span class="eventright ">$32</span>
        </div>
      </div>
    </div>
  </div>
</div>
顺便说一句,如果我没有它,我应该创建吗?

1 个答案:

答案 0 :(得分:0)

Clang是构建在LLVM之上的C / C ++编译器,它有一个OpenMP运行时并将提供omp.h头。

你需要安装clang,假设它配置了OpenMP(Apple在Xcode发布的clang中禁用了OpenMP,我不知道brew的默认值)。

如果您只想要没有编译器的openmp运行时,也可以这样做:http://openmp.llvm.org