Scripts to compile autotools projects on windows using clang and llvm tools
This package installs clang compiler, lld linker, tools like llvm-ranlib, llvm-ar, bash, autoconf to compiler autotools on windows. Resulting packages will be MSVC compatible. To use this package, in meta.yaml
build: requirements: build: - vs2019win-64 - autotoolsclang_conda - llvm-openmp
In bld.bat
call %BUILDPREFIX%\Library\bin\runautotoolsclangconda_build.bat if %ERRORLEVEL% neq 0 exit 1
In build.sh
./configure --prefix=$PREFIX [[ "$targetplatform" == "win-64" ]] && patchlibtool make -j${CPU_COUNT} make install
In case the build script has a different name (for example in multi-output recipes), you can pass the name of the build script in the recipe folder to the bat-script:
In build_subpackage.bat
call %BUILDPREFIX%\Library\bin\runautotoolsclangcondabuild.bat buildsubpackage.sh if %ERRORLEVEL% neq 0 exit 1