Date: Thu, 9 Feb 2023 16:59:45 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-ports@freebsd.org Subject: Re: devel/llvm16 -- flang is still broken Message-ID: <Y%2BWXAc%2ByDj9Js1oW@troutmask.apl.washington.edu> In-Reply-To: <Y%2BVuj8AUo47vMHtv@troutmask.apl.washington.edu> References: <Y%2BVuj8AUo47vMHtv@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 09, 2023 at 02:07:11PM -0800, Steve Kargl wrote: > TL:DR: Please disable building flang in devel/llvm16. > > > I was hoping to test the to Fortran compilers included in > devel/llvm16. Unfortunately, neither flang16 nor flang-new16 > are usable. > This seems to work for a simple program. Have no idea if the order of libs is correct. --- flang16.orig 2023-02-09 16:57:35.384452000 -0800 +++ flang16 2023-02-09 16:57:57.163685000 -0800 @@ -7,5 +7,9 @@ [ -L "$tool" ] && tool=$(/bin/realpath $tool) tool=${tool##*/} tool="${LLVM_PREFIX}/bin/${tool%${LLVM_SUFFIX}}" -LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ - exec "${tool}" "${@}" +#LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${LLVM_PREFIX}/lib" \ +# exec "${tool}" "${@}" +exec "${tool}" "${@}" -L${LLVM_PREFIX}/lib \ +-lFortranCommon -lFortranDecimal -lFortranEvaluate \ +-lFortranLower -lFortranParser -lFortranSemantics \ +-lFortran_main -lFortranRuntime -lm -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y%2BWXAc%2ByDj9Js1oW>