In most cases it will happily ignore the flag warning the user and moving on. In general, icc supports many of the same CFLAGS gcc supports and is also pretty tolerant to gcc flags it cannot use. Note: To test if your package has been really compiled with icc, observe the build output and watch if it is using the icc or icpc command. No special switches are needed when calling makepkg to build.Įxport CFLAGS="-march=native -O3 -no-prec-div -fno-alias -pipe"Įxport LDFLAGS="-Wl,-O1,-sort-common,-as-needed" Modify /etc/nf inserting the following code under the existing line defining CXXFLAGS to enable makepkg to use icc. Please make a new sub-section with your suggested method titled as such. This section is meant to capture various methods suggested by users. There is currently no official guide to using icc with makepkg.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |