Repository: spack/spack

Issue:
Install issue: intel-oneapi-compilers set CC incorrectly
### Steps to reproduce the issue

```console
 spack spec -I intel-oneapi-compilers
Input spec
--------------------------------
 -   intel-oneapi-compilers

Concretized
--------------------------------
[+]  intel-oneapi-compilers@2022.1.0%gcc@10.2.0 arch=linux-rhel8-broadwell
[+]      ^patchelf@0.15.0%gcc@10.2.0 arch=linux-rhel8-broadwell

```

The CC variable specified by spack load for this package is `{install location}/compiler/{date}/bin/icx` but this package only provides `{install location}/compiler/{date}/linux/bin`. I'm not sure if the export should be corrected or if a symlink to {date}/bin should be created but either of those could fix the problem.

### Error message

```
[wspear@delphi ~]$ spack load --sh intel-oneapi-compilers@2022.1.0 | grep CC
export CC=/storage/users/wspear/bin/SPACK/delphi/spack/opt/spack/linux-rhel8-broadwell/gcc-10.2.0/intel-oneapi-compilers-2022.1.0-yxqh3ccgzi6f3da42bh7anduqh6pk6ui/compiler/2022.1.0/bin/icx;

[wspear@delphi ~]$ ls /storage/users/wspear/bin/SPACK/delphi/spack/opt/spack/linux-rhel8-broadwell/gcc-10.2.0/intel-oneapi-compilers-2022.1.0-yxqh3ccgzi6f3da42bh7anduqh6pk6ui/compiler/2022.1.0/bin/icx;
ls: cannot access '/storage/users/wspear/bin/SPACK/delphi/spack/opt/spack/linux-rhel8-broadwell/gcc-10.2.0/intel-oneapi-compilers-2022.1.0-yxqh3ccgzi6f3da42bh7anduqh6pk6ui/compiler/2022.1.0/bin/icx': No such file or directory

[wspear@delphi ~]$ ls /storage/users/wspear/bin/SPACK/delphi/spack/opt/spack/linux-rhel8-broadwell/gcc-10.2.0/intel-oneapi-compilers-2022.1.0-yxqh3ccgzi6f3da42bh7anduqh6pk6ui/compiler/2022.1.0/linux/bin/icx;
/storage/users/wspear/bin/SPACK/delphi/spack/opt/spack/linux-rhel8-broadwell/gcc-10.2.0/intel-oneapi-compilers-2022.1.0-yxqh3ccgzi6f3da42bh7anduqh6pk6ui/compiler/2022.1.0/linux/bin/icx

```

### Information on your system

* **Spack:** 0.19.0.dev0 (31c24cd0d543f3bc06311fe148751fe88a11ecbb)
* **Python:** 3.6.8
* **Platform:** linux-rhel8-broadwell
* **Concretizer:** clingo


### Additional information

@rscohn2 


### General information

- [X] I have run `spack debug report` and reported the version of Spack/Python/Platform
- [X] I have run `spack maintainers <name-of-the-package>` and **@mentioned** any maintainers
- [X] I have uploaded the build log and environment files
- [X] I have searched the issues of this repo and believe this is not a duplicate


Discussion:

Resolving patch:
diff --git a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
--- a/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
+++ b/var/spack/repos/builtin/packages/intel-oneapi-compilers/package.py
@@ -130,10 +130,10 @@ def setup_run_environment(self, env):
         """
         super(IntelOneapiCompilers, self).setup_run_environment(env)
 
-        env.set("CC", self.component_prefix.bin.icx)
-        env.set("CXX", self.component_prefix.bin.icpx)
-        env.set("F77", self.component_prefix.bin.ifx)
-        env.set("FC", self.component_prefix.bin.ifx)
+        env.set("CC", self.component_prefix.linux.bin.icx)
+        env.set("CXX", self.component_prefix.linux.bin.icpx)
+        env.set("F77", self.component_prefix.linux.bin.ifx)
+        env.set("FC", self.component_prefix.linux.bin.ifx)
 
     def install(self, spec, prefix):
         # Copy instead of install to speed up debugging


Test patch: