Skip to content

Commit

Permalink
update basekit installation notes (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
jingxu10 authored Nov 8, 2023
1 parent 0c7b08e commit f9278a1
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions _scripts/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,11 +260,18 @@ $(document).ready(function() {
ret += "<div class=\"simple\">";
ret += "<h3>" + $.secid_gen([indexa, indexb]) + "Install Intel® oneAPI Base Toolkit</h3>";
var notes = [];
if(data.preparation.basekit.notinstall != null) {
var note = "<p>Do NOT install the following Intel® oneAPI Base Toolkit components:</p>";
note += $.ul_gen(data.preparation.basekit.notinstall);
notes.push(note);
}
// if(data.preparation.basekit.notinstall != null) {
// var note = "<p>Do NOT install the following Intel® oneAPI Base Toolkit components:</p>";
// note += $.ul_gen(data.preparation.basekit.notinstall);
// notes.push(note);
// }
var script_os = "";
if(data.os == "Linux/WSL2")
script_os = "setvars.sh";
else if(data.os == "Windows")
script_os = "setvars.bat";
var note = "<p>Avoid using environment activation script <i>" + script_os + "</i> in oneAPI root directory to activate oneAPI environment with all its components, use individual component-specific activation scripts to activate required components listed below one-by-one. Check the <i>Sanity Test</i> section below for a usage example.</p>";
notes.push(note);
if(data.preparation.msvc != null &&
$.pkgInArray(data.package, ["source", "cppsdk"]))
notes.push("Make sure the installation includes Miscrosoft C++ Build Tools integration.");
Expand Down

0 comments on commit f9278a1

Please sign in to comment.