Commit Graph

88 Commits

Author SHA1 Message Date
Tom Stellard
a5675736b8 18.1.6 Release 2024-05-21 12:40:18 +00:00
Tom Stellard
212756b16b 18.1.4 Release 2024-05-03 20:20:26 +00:00
Tom Stellard
fdf380be26 18.1.3 Release 2024-04-18 12:58:24 +00:00
Tom Stellard
4d37d6a07d Fix sources file 2024-03-22 20:52:11 +00:00
Tom Stellard
df76366479 18.1.2 Release 2024-03-22 18:22:51 +00:00
Tom Stellard
62c0d92ac7 18.1.1 Release 2024-03-13 04:35:07 +00:00
Tulio Magno Quites Machado Filho
8cafd483af Fix relationship with flang-devel
Fixes rhbz#2267221.
2024-03-01 12:17:35 -03:00
Tom Stellard
c44bc5e01e 18.1.0-rc4 Release 2024-02-29 21:03:48 +00:00
Fedora Release Engineering
a33177d9b7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 11:39:33 +00:00
Fedora Release Engineering
5daeee714b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:24:36 +00:00
Tulio Magno Quites Machado Filho
faa9e55f8e Move DSO to flang-runtime
1. Add a new subpackage called flang-runtime that distributes the 2
   runtime libraries, allowing programs to depend only on this package
   instead of all of flang.

2. Move Fortran modules and important symlinks to DSOs from flang-devel
   to flang because they're required when using flang.

3. The previous change left flang-devel with just cmake files, C and C++
   headers and unimportant symlinks to DSOs. All these files are not
   needed and can be removed. Which means that flang-devel is also
   removed.

Fixes rhbz#2172522.
2023-11-30 13:43:44 -03:00
Tulio Magno Quites Machado Filho
cb47102814 Update to LLVM 17.0.6 2023-11-29 20:15:18 -03:00
Tulio Magno Quites Machado Filho
41b294d14f Update to LLVM 17.0.4 2023-11-03 10:40:41 -03:00
Tulio Magno Quites Machado Filho
017169cb0e Update to LLVM 17.0.3 2023-10-18 13:08:25 -03:00
Tulio Magno Quites Machado Filho
c38fecb726 Update to LLVM 17.0.2 2023-10-05 19:03:36 -03:00
Tulio Magno Quites Machado Filho
fdd331f5f6 Update to LLVM 17.0.1 2023-09-25 18:55:45 -03:00
Tulio Magno Quites Machado Filho
c34508d392 Update to LLVM 17.0.0 RC4 2023-09-11 14:43:06 -03:00
Tulio Magno Quites Machado Filho
5accbd69d6 Update to LLVM 17.0.0 RC3 2023-08-28 22:48:00 -03:00
Tulio Magno Quites Machado Filho
b57d707b3a Update to LLVM 17.0.0 RC1 2023-08-11 12:04:22 -03:00
Fedora Release Engineering
2677614fce Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 19:47:37 +00:00
Tulio Magno Quites Machado Filho
11a8c5ce04 Update to LLVM 16.0.6 2023-07-10 19:20:07 -03:00
Nikita Popov
9faa697ef4 Use llvm-cmake-utils package 2023-06-15 16:52:53 +02:00
Tulio Magno Quites Machado Filho
2604385fdc Update to LLVM 16.0.5 2023-06-07 08:44:20 -03:00
Tulio Magno Quites Machado Filho
be54437fd8 Update to LLVM 16.0.4 2023-05-20 12:28:13 -03:00
Tulio Magno Quites Machado Filho
cb8551ea43 Remove patch for ppc64le triple
Prefer the python-lit patch from https://reviews.llvm.org/D149746
2023-05-15 17:12:45 -03:00
Tulio Magno Quites Machado Filho
85337ee5cf Update to LLVM 16.0.3 2023-05-11 08:32:56 -03:00
Tulio Magno Quites Machado Filho
a81d3a9460 Update to LLVM 16.0.2 2023-04-27 16:53:56 -03:00
Tulio Magno Quites Machado Filho
24ccf3d9c6 Update to LLVM 16.0.1 2023-04-13 18:53:56 -03:00
Tulio Magno Quites Machado Filho
57ad6493ac Set the amount of jobs dynamically
Instead of setting a static number of jobs for building flang, use a
function that can calculate the amount of jobs is safe to run on a
system based on the amount of memory required per job and on the amount
of processors available on the said system.

Start using 6144 MiB / job as safe value.  While my measurements have
shown this can be decreased, this value is safe enough and already
reduces the amount of time used to build flang to ~1/3 of the previous
time.
2023-04-06 14:16:44 -03:00
Tulio Magno Quites Machado Filho
98b06960c7 Fix mlir header path
A recent modification in mlir package modified where this header is
expected to be.
2023-04-03 15:47:08 -03:00
Tulio Magno Quites Machado Filho
dff62cc194 Update to LLVM 16.0.0 and a couple of improvements
1. Replace 0001-Changes-the-path-to-gtest.patch with the usage of
   LLVM_COMMON_CMAKE_UTILS.
2. Replace the entire cmake source code with
   0001-Flang-Fix-CMakePolicy.cmake.patch.
3. Added a patch that fixes a test for the trile ppc64le-redhat-linux.
2023-03-30 10:51:06 -03:00
Tulio Magno Quites Machado Filho
37cac20d19 Update to LLVM 16.0.0 RC4 2023-03-30 10:50:33 -03:00
Tulio Magno Quites Machado Filho
f1b2055e2b Stop building on s390x 2023-03-14 16:39:59 -03:00
Tulio Magno Quites Machado Filho
17ed819132 Replace many entries in .gitignore with a few globs 2023-03-03 11:29:39 -03:00
Tulio Magno Quites Machado Filho
ef3d5e9507 Update to LLVM 16.0.0 RC3 2023-03-03 11:29:29 -03:00
Nikita Popov
0b02061757 Fix build with GCC 13 2023-01-19 14:31:59 +01:00
Fedora Release Engineering
fbcbbf4838 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:31:13 +00:00
Nikita Popov
401bc095c6 Update to LLVM 15.0.7 2023-01-13 11:52:12 +01:00
Nikita Popov
ef9a5497ab Omit frame pointers when building 2023-01-13 11:50:34 +01:00
Nikita Popov
cbbb2f4412 Update to LLVM 15.0.6 2022-12-06 08:21:53 +01:00
Nikita Popov
5dab17e965 Update to LLVM 15.0.4 2022-11-07 11:38:50 +01:00
Nikita Popov
3ec18518dc Build with -O2 on s390x
This workaround doesn't appear to be necessary anymore, and should
avoid some annocheck failures.
2022-09-13 09:58:56 +02:00
Nikita Popov
7432993062 Update license to be SPDX compatible 2022-09-12 16:10:47 +02:00
Nikita Popov
f5deda01a9 Update to LLVM 15.0.0 2022-09-06 13:14:35 +02:00
Fedora Release Engineering
0cdbb18233 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:14:58 +00:00
sergesanspaille
26a3420be1 Fix project URL, see rhbz #2107724 2022-07-19 11:51:23 +02:00
Timm Bäder
afb89da57f Update to 14.0.5 2022-06-20 08:13:51 +02:00
sergesanspaille
b644c6fb63 Disable i686 arch as it fails to build with a link error
The link error is reproduced below, let's first ship mlir and then try to solve
the issue.

/usr/bin/g++ -fPIC -O1  -fexceptions -g1 -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wno-deprecated-copy -fno-strict-aliasing -fno-semantic-interposition -O1 -g1 -DNDEBUG  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/flang-14.0.0.src/.package_note-flang-14.0.0-1.fc37.i386.ld -Wl,-z,defs -Wl,-z,nodelete   -Wl,--gc-sections -shared -Wl,-soname,libFIRBuilder.so.14 -o lib/libFIRBuilder.so.14 lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/BoxValue.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Character.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Complex.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/DoLoopHelper.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/FIRBuilder.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/MutableBox.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Assign.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Character.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Command.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Derived.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Numeric.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Ragged.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Reduction.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Stop.cpp.o lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Transformational.cpp.o  -Wl,-rpath,/builddir/build/BUILD/flang-14.0.0.src/redhat-linux-build/lib:  lib/libFIRDialect.so.14  lib/libFIRSupport.so.14  /usr/lib/libMLIRAffineAnalysis.a  /usr/lib/libMLIRAffine.a  /usr/lib/libMLIRAffineTransforms.a  /usr/lib/libMLIRAffineUtils.a  /usr/lib/libMLIRArithmetic.a  /usr/lib/libMLIRArithmeticTransforms.a  /usr/lib/libMLIRArmNeon.a  /usr/lib/libMLIRArmSVE.a  /usr/lib/libMLIRArmSVETransforms.a  /usr/lib/libMLIRAsync.a  /usr/lib/libMLIRAsyncTransforms.a  /usr/lib/libMLIRAMX.a  /usr/lib/libMLIRAMXTransforms.a  /usr/lib/libMLIRBufferization.a  /usr/lib/libMLIRBufferizationTransforms.a  /usr/lib/libMLIRComplex.a  /usr/lib/libMLIRDLTI.a  /usr/lib/libMLIREmitC.a  /usr/lib/libMLIRGPUOps.a  /usr/lib/libMLIRGPUTransforms.a  /usr/lib/libMLIRLinalgAnalysis.a  /usr/lib/libMLIRAffineBufferizableOpInterfaceImpl.a  /usr/lib/libMLIRLinalgBufferizableOpInterfaceImpl.a  /usr/lib/libMLIRModuleBufferization.a  /usr/lib/libMLIRLinalg.a  /usr/lib/libMLIRLinalgTransforms.a  /usr/lib/libMLIRLinalgUtils.a  /usr/lib/libMLIRLLVMIRTransforms.a  /usr/lib/libMLIRLLVMIR.a  /usr/lib/libMLIRNVVMIR.a  /usr/lib/libMLIRROCDLIR.a  /usr/lib/libMLIRMath.a  /usr/lib/libMLIRMathTransforms.a  /usr/lib/libMLIRMemRef.a  /usr/lib/libMLIRMemRefTransforms.a  /usr/lib/libMLIRMemRefUtils.a  /usr/lib/libMLIROpenACC.a  /usr/lib/libMLIROpenMP.a  /usr/lib/libMLIRPDL.a  /usr/lib/libMLIRPDLInterp.a  /usr/lib/libMLIRQuant.a  /usr/lib/libMLIRSCF.a  /usr/lib/libMLIRSCFTransforms.a  /usr/lib/libMLIRSCFUtils.a  /usr/lib/libMLIRShape.a  /usr/lib/libMLIRShapeOpsTransforms.a  /usr/lib/libMLIRSparseTensor.a  /usr/lib/libMLIRSparseTensorTransforms.a  /usr/lib/libMLIRSparseTensorPipelines.a  /usr/lib/libMLIRSparseTensorUtils.a  /usr/lib/libMLIRSPIRV.a  /usr/lib/libMLIRSPIRVModuleCombiner.a  /usr/lib/libMLIRSPIRVConversion.a  /usr/lib/libMLIRSPIRVTransforms.a  /usr/lib/libMLIRSPIRVUtils.a  /usr/lib/libMLIRStandard.a  /usr/lib/libMLIRStandardOpsTransforms.a  /usr/lib/libMLIRTensor.a  /usr/lib/libMLIRTensorInferTypeOpInterfaceImpl.a  /usr/lib/libMLIRTensorTilingInterfaceImpl.a  /usr/lib/libMLIRTensorTransforms.a  /usr/lib/libMLIRTensorUtils.a  /usr/lib/libMLIRTosa.a  /usr/lib/libMLIRTosaTransforms.a  /usr/lib/libMLIRVector.a  /usr/lib/libMLIRVectorTransforms.a  /usr/lib/libMLIRVectorUtils.a  /usr/lib/libMLIRX86Vector.a  /usr/lib/libMLIRX86VectorTransforms.a  /usr/lib/libMLIRAsync.a  /usr/lib/libMLIRGPUOps.a  /usr/lib/libMLIRDLTI.a  /usr/lib/libMLIRLLVMToLLVMIRTranslation.a  /usr/lib/libMLIRShape.a  /usr/lib/libMLIRSparseTensorTransforms.a  /usr/lib/libMLIRLinalgTransforms.a  /usr/lib/libMLIRLinalgAnalysis.a  /usr/lib/libMLIRAffineBufferizableOpInterfaceImpl.a  /usr/lib/libMLIRLinalgBufferizableOpInterfaceImpl.a  /usr/lib/libMLIRModuleBufferization.a  /usr/lib/libMLIRLinalgUtils.a  /usr/lib/libMLIRTensorUtils.a  /usr/lib/libMLIRStandardToLLVM.a  /usr/lib/libMLIRArithmeticToLLVM.a  /usr/lib/libMLIRVectorToSCF.a  /usr/lib/libMLIRSCFTransforms.a  /usr/lib/libMLIRSCFUtils.a  /usr/lib/libMLIRSparseTensor.a  /usr/lib/libMLIRSparseTensorUtils.a  /usr/lib/libMLIRStandardOpsTransforms.a  /usr/lib/libMLIRArithmeticTransforms.a  /usr/lib/libMLIRTensorTransforms.a  /usr/lib/libMLIRBufferizationTransforms.a  /usr/lib/libMLIRVectorToLLVM.a  /usr/lib/libMLIRArmNeon.a  /usr/lib/libMLIRArmSVETransforms.a  /usr/lib/libMLIRArmSVE.a  /usr/lib/libMLIRAMXTransforms.a  /usr/lib/libMLIRAMX.a  /usr/lib/libMLIRVectorTransforms.a  /usr/lib/libMLIRVectorUtils.a  /usr/lib/libMLIRX86VectorTransforms.a  /usr/lib/libMLIRX86Vector.a  /usr/lib/libMLIRTargetLLVMIRExport.a  /usr/lib/libMLIRLLVMIRTransforms.a  /usr/lib/libMLIRTranslation.a  /usr/lib/libMLIRSCFToStandard.a  /usr/lib/libMLIRAffineToStandard.a  /usr/lib/libMLIRVector.a  /usr/lib/libMLIRAffineUtils.a  /usr/lib/libMLIRAffineAnalysis.a  /usr/lib/libMLIRPresburger.a  /usr/lib/libMLIRMathToLLVM.a  /usr/lib/libMLIRMemRefToLLVM.a  /usr/lib/libMLIRLLVMCommonConversion.a  /usr/lib/libMLIRLLVMIR.a  /usr/lib/libMLIRReconcileUnrealizedCasts.a  /usr/lib/libMLIRSPIRVConversion.a  /usr/lib/libMLIRSPIRV.a  /usr/lib/libMLIRTransforms.a  /usr/lib/libMLIRCopyOpInterface.a  /usr/lib/libMLIRLinalg.a  /usr/lib/libMLIRAffine.a  /usr/lib/libMLIRMath.a  /usr/lib/libMLIRParser.a  /usr/lib/libMLIRSCF.a  /usr/lib/libMLIRBufferization.a  /usr/lib/libMLIRMemRef.a  /usr/lib/libMLIRMemRefUtils.a  /usr/lib/libMLIRLoopLikeInterface.a  /usr/lib/libMLIRTilingInterface.a  /usr/lib/libMLIRTosa.a  /usr/lib/libMLIRQuant.a  /usr/lib/libMLIRTransformUtils.a  /usr/lib/libMLIRRewrite.a  /usr/lib/libMLIRPDLToPDLInterp.a  /usr/lib/libMLIRPDLInterp.a  /usr/lib/libMLIRPDL.a  /usr/lib/libMLIRTensor.a  /usr/lib/libMLIRComplex.a  /usr/lib/libMLIRStandard.a  /usr/lib/libMLIRArithmetic.a  /usr/lib/libMLIRVectorInterfaces.a  /usr/lib/libMLIRDialectUtils.a  /usr/lib/libMLIRCastInterfaces.a  /usr/lib/libMLIRDialect.a  /usr/lib/libMLIRPass.a  /usr/lib/libMLIRAnalysis.a  /usr/lib/libMLIRCallInterfaces.a  /usr/lib/libMLIRControlFlowInterfaces.a  /usr/lib/libMLIRInferTypeOpInterface.a  /usr/lib/libMLIRSideEffectInterfaces.a  /usr/lib/libMLIRDataLayoutInterfaces.a  /usr/lib/libMLIRViewLikeInterface.a  /usr/lib/libMLIRIR.a  /usr/lib/libMLIRSupport.a  /usr/lib/libLLVM-14.so && :
/usr/bin/ld: lib/Optimizer/Builder/CMakeFiles/obj.FIRBuilder.dir/Runtime/Character.cpp.o: in function `fir::runtime::RuntimeTableKey<int (char const*, char const*, unsigned int, unsigned int)>::getTypeModel()::{lambda(mlir::MLIRContext*)#1}::operator()(mlir::MLIRContext*) const':
/builddir/build/BUILD/flang-14.0.0.src/include/flang/Optimizer/Builder/Runtime/RTBuilder.h:296: undefined reference to `mlir::Type (*fir::runtime::getModel<unsigned int>())(mlir::MLIRContext*)'
/usr/bin/ld: /builddir/build/BUILD/flang-14.0.0.src/include/flang/Optimizer/Builder/Runtime/RTBuilder.h:296: undefined reference to `mlir::Type (*fir::runtime::getModel<unsigned int>())(mlir::MLIRContext*)'
[...]
2022-03-30 08:30:52 +02:00
sergesanspaille
fdb5f40c75 Upload new sources 2022-03-30 08:10:23 +02:00
Timm Bäder
f7cc177a3b Update to 14.0.0 2022-03-24 15:14:45 +01:00