Closed isuruf closed 10 months ago
Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe
) and found some lint.
Here's what I've got...
For recipe:
dpcpp_impl_win-64
because it is not a known output of this recipe: ['intel-cmplr-lic-rt', 'intel-cmplr-lib-rt', 'intel-fortran-rt', 'intel-opencl-rt', 'dpcpp-cpp-rt', 'dpcpp_impl_linux-64', 'dpcpp_linux-64', 'oneccl-devel', 'intel-compiler-repack'].Hi @isuruf - is there content for this PR? Not sure I understand everything here
Yes, a context would be nice.
Instead of specifying --gcc-toolchain
, --sysroot
, and --target
in $CFLAGS, we leverage support for compiler configuration files:
# Intel LLVM must cooperate with compiler and sysroot from conda
echo "--gcc-toolchain=${BUILD_PREFIX} --sysroot=${BUILD_PREFIX}/${HOST}/sysroot -target ${HOST}" > icpx_for_conda.cfg
export ICPXCFG="$(pwd)/icpx_for_conda.cfg"
export ICXCFG="$(pwd)/icpx_for_conda.cfg"
Perhaps this could be used in the compiler activation script.
This is for https://github.com/conda-forge/onednn-feedstock/pull/53. Yeah we can use that script.
@napetrov can you review and merge?
Checklist
0
(if the version changed)conda-smithy
(Use the phrase code>@<space/conda-forge-admin, please rerender in a comment in this PR for automated rerendering)