First of all I want to say that I don't like the fetch restricion. Couldn't we just fetch the sources like with the previous (old 7.1) ebuilds? When checking ftp://download.intel.com/software/products/compilers/downloads/ the version you speak of (8.1.026) does not exist yet. Is this what you intended? In order to test your ebuild I renamed the ebuild to ifc-8.1.024.ebuild. After I fetched the sources, I try to emerge this program. Here I encounter a serious bug. --------------- >>> Unpacking l_fc_pc_8.1.024.tar.gz to /var/tmp/portage/ifc-8.1.024/work /usr/portage/eclass/rpm.eclass: line 50: /var/tmp/portage/ifc-8.1.024/work/intel-*.i386.rpm: No such file or directory --------------- Obvious solution: fix the rpm_unpack command and put in the right directory. On we go... Everything works! Great. Now we'll test the compiler. --------------- # ifort -v bash: ifort: command not found # /opt/intel_fc_80/bin/ifort -v Version 8.1 --------------- Seems like the executable is not in the path. In previous ebuilds this was fixed by copying a file (05icc-ifc) into /etc/env.d/. However, I would suggest that in the new {icc,ifc}-ebuilds this file is split up into a 05icc and 06ifc. To copy this file (06ifc) to the right location, we need to add a doins to the ebuild. I hope these comments help to improve the ebuild. Thanks for making new ebuilds!
Created attachment 60302 [details] The diff between the portage-tree 8.1.026 ebuild and my 8.1.024 ebuild As mentioned above, I changed the rpm_unpack location and added a insinto/doins statement to src_install
Created attachment 60304 [details] file containing env.d-variables This is the file 06ifc mentioned in the previous comments. This file should go in ${FILESDIR}/${PVR}/
Version 8.1.026 _does_ exist and is available via the Premier Support programm. You'll get an account for that by registering your ifc/icc or mkl license for Premier Support. As soon as the version is freely available, I'll remove the fetch restrictions. As for the env.d scripts: For the time being i plan to ship such files, yes. In the long run, i want icc/ifc to be selectable via gcc-config :-)
does the RPM extract fine in the 8.1.026.ebuild?
Created attachment 61445 [details] Quick fix for build problem. This ebuild fixes the problems with the rpm reported before and also adds a couple of files that need to be changed via sed editing in the bin direcotry. Once the licenese file is installed a user should source one of the files: /opt/intel_fc_80/bin/ifortvars.{sh,csh} to set up the environment.
ifc 9.0 out, please bump
As stated on the other ifc-8 bug(s): WONTFIX, won't work on <ifc-9.