Skip to content

Commit

Permalink
0.2.8 update
Browse files Browse the repository at this point in the history
  • Loading branch information
amakarev committed Mar 29, 2023
1 parent 4b3384c commit 220e6ef
Show file tree
Hide file tree
Showing 6 changed files with 1,120 additions and 4,588 deletions.
21 changes: 0 additions & 21 deletions .gitlab-ci.yml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# Change Log
## 0.2.8

- Updated dependencies

## 0.2.7

- Updated dependencies

## 0.2.5

Expand Down
43 changes: 22 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@
# Environment Configurator for Intel® oneAPI Toolkits

#### [Repository](https://github.com/intel/vscode-environment-and-launch-configurator) | [Issues](https://github.com/intel/vscode-environment-and-launch-configurator/issues) | [Documentation](https://www.intel.com/content/www/us/en/develop/documentation/using-vs-code-with-intel-oneapi/intel-oneapi-extensions-for-visual-studio-code/environment-configurator-extension.html) | [Code Samples](https://github.com/oneapi-src/oneAPI-samples)
#### [Repository](https://github.com/intel/vscode-environment-and-launch-configurator) | [Issues](https://github.com/intel/vscode-environment-and-launch-configurator/issues) | [Documentation](https://www.intel.com/content/www/us/en/develop/documentation/using-vs-code-with-intel-oneapi/top/local-host-top/local-host.html#developing-a-visual-studio-code-project_configure-the-oneapi-environment) | [Code Samples](https://github.com/oneapi-src/oneAPI-samples)
***
This extension configures the system environment and settings for Intel® oneAPI toolkits and their products. To learn about more
extensions for oneAPI Toolkits, see [Using Visual Studio Code with Intel® oneAPI toolkits](https://software.intel.com/content/www/us/en/develop/documentation/using-vs-code-with-intel-oneapi/top.html).
***

## Set oneAPI Environment
1. Press `Ctrl+Shift+P ( or View -> Command Palette... )` to open the Command Palette.
2. Type **Intel oneAPI** to view options of the installed extensions.
3. Click on `Intel oneAPI: Initialize default environment variables`.
4. If Visual Studio Code* asks for a location, locate your setvars script:
Linux: the script is located in ``<install dir>/intel/oneapi``. The default installation location is ``/opt/intel/oneapi``
Windows: the script is located in ``<install dir>\Intel\oneAPI\``. The default installation location is ``C:\Program Files (x86)\Intel\oneAPI``.

* The current environment applies to all tasks, launch and new terminals, regardless of which folder it was originally associated with.
* Previously created terminals contain only the environment in which they were created, regardless of the environment applied to a new terminal.
You can initialize your environment with following steps.

### Specify a Permanent Path to Intel oneAPI Toolkit Installations
1. Press `Ctrl+Shift+P (or View -> Command Palette...)` to open the Command Palette.
2. Type **Intel oneAPI** to view options of the installed extensions.
3. Click on `Intel oneAPI: Initialize default environment variables`.
4. If Visual Studio Code* asks for a location, locate your setvars script. **Linux**: the script is located in `<install dir>/intel/oneapi`. The default installation location is `/opt/intel/oneapi`. **Windows**: the script is located in `<install dir>\Intel\oneAPI\`. The default installation location is `C:\Program Files (x86)\Intel\oneAPI`.

You can specify the direct path to the oneAPI install directory in order to avoid searching for the environment every time the environment is initialized.
The current environment applies to all tasks, launch and new terminals, regardless of which folder it was originally associated with.

Previously created terminals contain only the environment in which they were created, regardless of the environment applied to a new terminal.

1. Press `Ctrl+, (or File -> Preferences -> Settings)` to open the Settings.
2. On the left side of the Settings window, select `Extensions>Environment Configurator for Intel® oneAPI Toolkits`.
3. In the "ONEAPI_ROOT" field, specify the path to the installation directory of the oneAPI toolkit.
## Specify a Permanent Path to Intel oneAPI Toolkit Installations

You can specify the direct path to the oneAPI install directory in order to avoid searching for the environment every time the environment is initialized.

1. Press `Ctrl+, (or File -> Preferences -> Settings)` to open the Settings.
2. On the left side of the Settings window, select `Extensions>Environment Configurator for Intel® oneAPI Toolkits`.
3. In the "ONEAPI_ROOT" field, specify the path to the installation directory of the oneAPI toolkit.

## Using setvars_config files for oneAPI Environment
You can limit the initialization of the environment to a specific set of oneAPI components, and also initialize the environment for a specific version of the component.

For this you need:
1. Press `Ctrl+, ( or File -> Preferences -> Settings )` to open the Settings.
2. On the left side of the Settings window, select `Extensions>Environment Configurator for Intel® oneAPI Toolkits`.
3. In the `SETVARS_CONFIG` area, click `Add Item` and provide the path to your setvars configuration file.
4. Press `Ctrl+Shift+P` to open the Command Palette. `Type oneAPI` and select `Intel oneAPI: Initialize custom environment variables using SETVARS_CONFIG`.
5. To switch the environment, click `Intel oneAPI: Switch environment` and select the configuration file that the environment is associated with.
6. To delete the oneAPI environment, open the Command Palette and select `Intel oneAPI: Clear environment variables`.
1. Press `Ctrl+, ( or File -> Preferences -> Settings )` to open the Settings.
2. On the left side of the Settings window, select `Extensions>Environment Configurator for Intel® oneAPI Toolkits`.
3. In the `SETVARS_CONFIG` area, click `Add Item` and provide the path to your setvars configuration file.
4. Press `Ctrl+Shift+P` to open the Command Palette. `Type oneAPI` and select `Intel oneAPI: Initialize custom environment variables using SETVARS_CONFIG`.
5. To switch the environment, click `Intel oneAPI: Switch environment` and select the configuration file that the environment is associated with.
6. To delete the oneAPI environment, open the Command Palette and select `Intel oneAPI: Clear environment variables`.


* Note that the name of the configuration file can be arbitrary, but it will be used as an environment identifier. Using different files with the same name will result in the reinitialization of the current environment and not the creation of a new one.
Note that the name of the configuration file can be arbitrary, but it will be used as an environment identifier. Using different files with the same name will result in the reinitialization of the current environment and not the creation of a new one.

## Contributing
Install Visual Studio Code (at least version 1.46) and open this project within it.
Expand Down
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Security Policy
Intel is committed to rapidly addressing security vulnerabilities affecting our customers and providing clear guidance on the solution, impact, severity and mitigation.

## Reporting a Vulnerability
Please report any security vulnerabilities in this project [utilizing the guidelines here](https://www.intel.com/content/www/us/en/security-center/vulnerability-handling-guidelines.html).
Loading

0 comments on commit 220e6ef

Please sign in to comment.