Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
420 commits
Select commit Hold shift + click to select a range
d374624
Merge pull request #1069 from isuruf/mkstemp
sscalpone Mar 28, 2020
85db303
Merge pull request #1068 from isuruf/strerror
sscalpone Mar 29, 2020
9fe84f4
Reformat with latest clang-format and .clang-format
tskeith Mar 29, 2020
96c6be6
Merge pull request #1094 from flang-compiler/tsk-format
tskeith Mar 29, 2020
098f01b
Checks for constraints C731 through C740
psteinfeld Mar 31, 2020
ca9dcf7
Merge pull request #1097 from flang-compiler/ps-types
psteinfeld Apr 2, 2020
1d287d9
Define CHARACTER runtime API, establish placeholder implementations
klausler Mar 30, 2020
5b89dc7
Merge pull request #1096 from flang-compiler/pmk-char
klausler Apr 2, 2020
361a151
Process names in ASSIGN and assigned GOTO
klausler Apr 3, 2020
b539ac9
Merge pull request #1099 from flang-compiler/pmk-assign
klausler Apr 3, 2020
8a2343d
Add message formatting for std::int64_t
tskeith Apr 4, 2020
3749b46
Adjust supported compilers statement in F18 readme
CarolineConcatto Mar 24, 2020
6e04d35
Merge pull request #1087 from CarolineConcatto/update_readme
sscalpone Apr 6, 2020
92a1ef6
Convert std::uint64_t to std::uintmax_t as well
tskeith Apr 6, 2020
72dad8c
Merge pull request #1101 from flang-compiler/tsk-msg-format
tskeith Apr 7, 2020
7f44752
[shim] applied anti-patches to CMakeLists.txt and README.md files to …
schweitzpgi Apr 3, 2020
b1473ad
[shim] add back removed files
schweitzpgi Dec 16, 2019
17eb011
[shim] revert come changes made on master to ease rebasing of mono br…
Mar 18, 2020
4a683c7
Burnside bridge implementation
schweitzpgi Apr 1, 2019
ce0fcd1
fix option parsing
schweitzpgi Oct 27, 2019
661e956
More Complex expresison lowering:
jeanPerier Oct 24, 2019
484e275
[shim] remove files to avoid conflicts
schweitzpgi Mar 18, 2020
2d12080
work on extract_value and insert_value
schweitzpgi Oct 28, 2019
080b546
fix build failures
schweitzpgi Nov 18, 2019
3bb3f72
fix .NOT. lowering and clean warning
jeanPerier Nov 19, 2019
9622d9f
add lowering of fir.loop
schweitzpgi Nov 19, 2019
df9cbab
rename fe-helper to convert-type
schweitzpgi Nov 19, 2019
abc425a
get rid of singleton; start threading internal name mangler
schweitzpgi Nov 19, 2019
93dc0fa
simplify syntax for alloca and allocmem
schweitzpgi Nov 20, 2019
3b65341
Propagate logicals in the type required by consumers:
jeanPerier Nov 20, 2019
19a1d09
Remove the legacy "flatten" representation, which was an intermediate
schweitzpgi Dec 3, 2019
93fbe34
[PATCH 1/2] Intrinsic operations lowering tests and fixes
jeanPerier Dec 5, 2019
faba577
fix array ref
schweitzpgi Dec 6, 2019
a5aab7d
Burnside: simple DO to fir.loop conversion
schweitzpgi Dec 6, 2019
8ed9f05
do a little work on calls
schweitzpgi Dec 9, 2019
7d29b57
rebase changes; move IO statements
schweitzpgi Dec 10, 2019
2b210b5
introduce AbstractConverter
schweitzpgi Dec 10, 2019
a41fa97
start threading name mangler
schweitzpgi Dec 11, 2019
d75a848
Fix function returns and enable more expression tests
jeanPerier Dec 11, 2019
d202eee
add a decompose interface
schweitzpgi Dec 12, 2019
a66d0dd
MERGE lowering and MIN/MAX/CONJG/Comparisons lowering update
jeanPerier Dec 13, 2019
8499e37
Fixes to the CMake files to enable in-tree and out-of-tree building. …
schweitzpgi Dec 13, 2019
aa52ef6
Lowering Character dummy argument to boxchar type
jeanPerier Dec 18, 2019
16be3c1
Implement an -fdebug-dump-pre-fir option to dump FIR AST code.
vdonaldson Dec 18, 2019
7636f81
initial work on lowering select_type
schweitzpgi Dec 18, 2019
c19f418
Split assignment lowering into different cases
jeanPerier Dec 18, 2019
a936f29
tweaks to FuncOp getter
schweitzpgi Dec 18, 2019
86565f8
Address review comments in prior commit; use more name shortcuts.
vdonaldson Dec 20, 2019
2ddbe31
fix unused var warnings
jeanPerier Dec 19, 2019
f502f90
Primitive scalar character assignement lowering:
jeanPerier Dec 20, 2019
02ad563
get select_type lowered
schweitzpgi Dec 20, 2019
ec6c50d
remove the type conversion to avoid problems. look for a canonical way
schweitzpgi Jan 6, 2020
025a4fa
rename burnside namespace to lower
schweitzpgi Jan 7, 2020
3b3e476
rename "fir" directories to "optimizer"
schweitzpgi Jan 7, 2020
77a44ad
turn some asserts into emitErrors
schweitzpgi Jan 7, 2020
cb926e9
a little work on lowering of fortran derived types. the front-end doe…
schweitzpgi Jan 7, 2020
3473671
remove unused file
schweitzpgi Jan 7, 2020
422c20c
Implement substring and character(*) assignement lowering
jeanPerier Jan 6, 2020
62e1d07
strip down bbc
schweitzpgi Jan 8, 2020
8cfbf30
Update expression tests and introduce `fir::SequenceType::getUnknownE…
jeanPerier Jan 9, 2020
b9c82e6
Flang relicensing changes for LLVM Apache 2.0 license
Jan 9, 2020
5597d5d
document
schweitzpgi Jan 9, 2020
6318a9b
moving and renaming files to follow the LLVM conventions
schweitzpgi Jan 14, 2020
e1ef015
add test-lit
schweitzpgi Jan 14, 2020
ebb80cb
Clean-up include names after fir headers directory changes
jeanPerier Jan 15, 2020
32325d3
Remove old runtime representation based on runtime.def
jeanPerier Jan 15, 2020
c6412d0
Make bbc and tco link against new FortranOptimizer lib
jeanPerier Jan 15, 2020
fdf1315
work on getting lit up
schweitzpgi Jan 15, 2020
75a9663
Make flang lit test run with in-tree builds
jeanPerier Jan 16, 2020
4df6657
Enable out of tree lit regression tests and add related instructions
jeanPerier Jan 16, 2020
f96ac79
rebasing changes
schweitzpgi Jan 17, 2020
e5a60f2
Refactor character assignment lowering
jeanPerier Jan 13, 2020
79c0442
Move ComplexHandler to OpBuilder.h and refactor it a bit
jeanPerier Jan 16, 2020
976f252
Add character expression test framework and tests for assignment
jeanPerier Jan 17, 2020
36d657e
more rebasing changes
schweitzpgi Jan 17, 2020
0bd99af
add more table references in io
schweitzpgi Jan 28, 2020
2df779c
fix compilation issues
schweitzpgi Jan 28, 2020
28389d1
rebase lib/lower
jeanPerier Jan 28, 2020
41e5b48
get rid of warnings from rebase and merge
schweitzpgi Jan 28, 2020
ab242b9
Address PR959 review comments
jeanPerier Jan 29, 2020
6a58943
PFT rename
schweitzpgi Jan 31, 2020
24fe817
merge fir directory with opt
schweitzpgi Feb 5, 2020
584ad54
Fix issues comming from clang-10 warnings
jeanPerier Feb 6, 2020
bb808de
rebase
schweitzpgi Feb 6, 2020
3774da5
add test
schweitzpgi Feb 11, 2020
bca1514
misc changes
schweitzpgi Feb 13, 2020
b2b63e0
rebasing and other changes
schweitzpgi Feb 13, 2020
1da2d57
Fix linking regression
jeanPerier Feb 14, 2020
fcb36bd
more work on fir
schweitzpgi Feb 14, 2020
7a369c5
Fallout of review 959: only in mono
schweitzpgi Jan 30, 2020
33b07af
move GlobalOp to tablegen
schweitzpgi Feb 19, 2020
66a3e03
gratuitous name changes
schweitzpgi Feb 19, 2020
2cf1b2f
fix order of ctors, etc.
schweitzpgi Feb 22, 2020
6b87cb9
adding descriptions
schweitzpgi Feb 24, 2020
d04d441
Rebase: evaluate::Assignment changes fallout
jeanPerier Feb 25, 2020
97bb6e4
expand names mechanically
schweitzpgi Feb 25, 2020
1c12527
document
schweitzpgi Feb 26, 2020
44c2ccf
kill files
schweitzpgi Feb 26, 2020
662d4c6
directory rename fallout
schweitzpgi Feb 26, 2020
224b69c
[shim] remove the files from master to facilitate rebasing of mono
schweitzpgi Mar 18, 2020
7c50041
directory rename fallout: move files
schweitzpgi Feb 26, 2020
25b2fee
fallout from 112 being changed to 113
schweitzpgi Feb 26, 2020
184dfe1
fall out from directory renaming - change all the include directives …
schweitzpgi Feb 26, 2020
c6b1ab4
turn off clang++ warnings
schweitzpgi Feb 27, 2020
3b81297
[PR1035] changes per River's comments
schweitzpgi Feb 27, 2020
d0185a9
add ability to build loop op with attributes
schweitzpgi Feb 28, 2020
0d40043
[PR1035] more tweaks per code review comments
schweitzpgi Feb 28, 2020
a52f833
rebase changes
schweitzpgi Feb 29, 2020
2d53c0b
[PR1035] more code cleanups
schweitzpgi Feb 29, 2020
3af50ca
[PR1035] LLVM standards, document FIR types, unordered_map
schweitzpgi Mar 2, 2020
4a0189a
[PR1035] rewrite KindMapping to use MLIR results infrastructure
schweitzpgi Mar 2, 2020
e3da550
[PR1035] Solve editorial comments
jeanPerier Mar 3, 2020
e85efcd
[PR1035] Solve isImpureCall... and std::unordered_map comments
jeanPerier Mar 3, 2020
7b471b9
[PR1035] make the isa helpers all follow the same pattern.
schweitzpgi Mar 3, 2020
ea7a13c
fix the out-of-tree undefined symbols link failures
schweitzpgi Mar 3, 2020
8f540ab
[PR1035] more reaction to review comments
schweitzpgi Mar 4, 2020
c5e8c45
rebasing changes as CmpFPredicate moved
schweitzpgi Mar 4, 2020
e2d4f10
Fix issue after rebase to use mlir::stringifyCmpFPredicate
jeanPerier Mar 5, 2020
aaf8949
[PR1035] share pointer and heap checks and remove redundant tests
jeanPerier Mar 5, 2020
f4cf0c9
work on merging the cmake changes
schweitzpgi Mar 5, 2020
3350ee7
[PR1035] remove unused dummy argument from LenType/FieldType
Mar 6, 2020
9e4bab1
[PR1035] simplify fir::ConstfOp
Mar 6, 2020
1c85d37
Basic FIR control flow generation
vdonaldson Feb 29, 2020
d234c40
Update for review comments.
vdonaldson Mar 3, 2020
05aecbd
Switch initialization style
vdonaldson Mar 3, 2020
2bd73ef
Update for review comments.
vdonaldson Mar 4, 2020
0197f28
fixup
vdonaldson Mar 4, 2020
42526f9
Update for review comments.
vdonaldson Mar 5, 2020
22adc17
Update for review comments.
vdonaldson Mar 6, 2020
2c4a644
Jean's review comment on TableGen
schweitzpgi Mar 6, 2020
594f4a8
code cleanup
schweitzpgi Mar 7, 2020
0b38472
[PR1035] enable FIRLangRef.md generation
jeanPerier Mar 6, 2020
582fc12
[PR1035] change README make -j to make
jeanPerier Mar 6, 2020
28032c9
fix for check-flang. make it always available.
schweitzpgi Mar 7, 2020
7d60447
NFC: code shuttling between files
schweitzpgi Mar 7, 2020
9cf143e
Fix for Apple Clang 11 (constexpr error)
Mar 7, 2020
7043fca
fix check-flang broken by new cmake files
Mar 7, 2020
acd4941
work on rebasing fallout
schweitzpgi Mar 10, 2020
c13d859
rebase fallout
schweitzpgi Mar 10, 2020
538a016
add builders for new select internal structures
schweitzpgi Mar 12, 2020
aaed288
fix typos in documentation
schweitzpgi Mar 12, 2020
3356557
Deal with evolving effects
schweitzpgi Mar 13, 2020
b78fbf4
Rework the fir.loop operation. Remove the return value and extend the…
schweitzpgi Mar 11, 2020
821d009
add args to pass mgr
schweitzpgi Mar 16, 2020
f25f722
fix bugs with loop iterations
schweitzpgi Mar 17, 2020
0e82320
Add LLVM definitions in CMakeLists.txt required for standalone builds
jeanPerier Mar 17, 2020
1e1323c
[cmake rebase] fix out-of-tree lit config after PR1045 cmake previous…
jeanPerier Mar 17, 2020
82bc632
use newer converter interface
schweitzpgi Mar 17, 2020
a36cd26
changes
schweitzpgi Mar 18, 2020
e3078f2
fallout from rebasing to latest master changes
schweitzpgi Mar 18, 2020
2060061
fallout from rebase. move files from directories with the same name m…
schweitzpgi Mar 18, 2020
e4aa6ac
fix for change in io-api.h
schweitzpgi Mar 18, 2020
1b873d0
re-enable check-flang as a valid make target
schweitzpgi Mar 19, 2020
7680ddd
remove caching fix macos bugs
Mar 19, 2020
b86eb15
add linkage and simple initial value support to GlobalOp builders, pa…
Mar 19, 2020
f6c7c4d
[mlir rebase] changes to build along LLVM head 20th march 2020
jeanPerier Mar 20, 2020
e45b3e7
fixes to lower FIR column-major array layout and accesses to LLVM pro…
schweitzpgi Mar 22, 2020
51e78f9
simple lowering of array lower bound adjustment in Burnside. this is …
schweitzpgi Mar 23, 2020
cd2d9fc
cleanup anonymous namespace
schweitzpgi Mar 24, 2020
8f444f6
get rid of iostream finally
schweitzpgi Mar 24, 2020
500bb5c
Enable lowering lit tests, test units mangling, related fix
jeanPerier Mar 20, 2020
48bd26c
first part of comment + make function symbol more accessible
jeanPerier Mar 23, 2020
f159355
[front-end changes] add HasAlternateReturns helper
jeanPerier Mar 23, 2020
ab359e4
Clean-up in PFT, fixing analyzeIoBranches
jeanPerier Mar 24, 2020
acf11b2
remove useless assert
jeanPerier Mar 24, 2020
78b6ff5
fix a number of bugs that had crept in from rebasing, etc.
schweitzpgi Mar 24, 2020
05838a7
change bbc to use the stem name of the file + ".mlir" for the default
schweitzpgi Mar 25, 2020
5a13d32
[front-end change] Define llvm::DenseMapInfo for SymbolRef
jeanPerier Mar 25, 2020
e9fd97a
Editorial changes and use SymbolRef inside SymbolLabelMap
jeanPerier Mar 25, 2020
5e5ff06
add folders
schweitzpgi Mar 25, 2020
52572ea
merging subroutine and function call, mangling test and fixes
jeanPerier Mar 25, 2020
563ac02
merge in functional calls
Mar 25, 2020
ab5e6fd
add location for new functions
Mar 25, 2020
7af3435
Last PR63 comments. Remove redundant extractLocation function.
jeanPerier Mar 26, 2020
4eff797
add -dump-symbols to bbc
schweitzpgi Mar 26, 2020
a6e3c5d
add end-to-end hello world test
Mar 26, 2020
93ad7bf
remove test-lit
schweitzpgi Mar 27, 2020
fd7e1db
rebase of f18-llvm-project:mono changes
schweitzpgi Mar 27, 2020
49ed237
fix warning
schweitzpgi Mar 27, 2020
b3c43d7
work around -Werror
schweitzpgi Mar 27, 2020
9707233
more work on hello.f90 test
Mar 27, 2020
6f4fcba
changes to make coordinate_of work for simple pointer arithmetic
Mar 27, 2020
9f5e5d1
add comment
schweitzpgi Mar 28, 2020
3479b7b
Fix a bug with unstructured else block control flow.
vdonaldson Mar 28, 2020
7a20088
clang-format
schweitzpgi Mar 28, 2020
353da0e
add source loc to PROGRAM
Mar 28, 2020
5e8d3f0
more work on IO
schweitzpgi Mar 28, 2020
6be8b0d
convert some assert(false) to llvm_unreachable
Mar 29, 2020
dff7980
add global builders
Mar 29, 2020
1dbca9c
data transfer
schweitzpgi Mar 30, 2020
bf654b3
more IO lowering
schweitzpgi Mar 31, 2020
aceb4ac
[front-end change] IsProcedure fix: follow host association
jeanPerier Mar 26, 2020
bbce47e
Skeleton of specification handling and character assignement update
jeanPerier Mar 26, 2020
5aa9ce1
switch over print to new code
schweitzpgi Mar 31, 2020
179b26d
more IO work
schweitzpgi Mar 31, 2020
68eaa34
extend test
schweitzpgi Mar 31, 2020
e556691
Get input working a bit. Extend test for trivial coverage of all IO s…
schweitzpgi Mar 31, 2020
b32f704
warning removal
schweitzpgi Apr 1, 2020
ea4d4a2
changes
schweitzpgi Apr 1, 2020
b524b57
add GlobalOp create method to FirOpBuilder
Apr 1, 2020
ddfdccf
clang-format
schweitzpgi Apr 1, 2020
77ae98a
use getModule
Apr 1, 2020
f836f7f
add WhereOp folder
Apr 1, 2020
076bb78
use getModule
schweitzpgi Apr 1, 2020
7273a0b
fix to lowering of sequence with constant interior shape
Apr 2, 2020
5ce3bcc
Whitelist constant shape arrays from TODO and character assignment tests
jeanPerier Apr 1, 2020
38d0717
fix assignement typo and more readable isConstantShape logic
jeanPerier Apr 2, 2020
8d08820
add sketches for ioMsg and ioStat
schweitzpgi Apr 2, 2020
c608aa8
assert false
schweitzpgi Apr 2, 2020
ad42380
fix bug with rewriting step
Apr 2, 2020
170c8bb
fixes after rebase with f18 5b89dc7 head
jeanPerier Apr 3, 2020
c8c8d54
documentation bug
schweitzpgi Apr 3, 2020
e15b87a
fix intree build test failure
jeanPerier Apr 3, 2020
c985c86
add scalar intrinsic operation tests (but complex)
jeanPerier Apr 3, 2020
2719c6a
[workaround] add --disable-pass-threading for now to get around crash…
schweitzpgi Apr 3, 2020
cf66881
add a substitution to use the same C++ compiler as the build for test
schweitzpgi Apr 3, 2020
37cace4
misc. changes, code cleanup
schweitzpgi Apr 3, 2020
e8b6844
add string test
schweitzpgi Apr 4, 2020
e19311b
fix for end-to-end test on macos
Apr 4, 2020
8528d00
[cleanup] remove references to code no longer used, etc.
schweitzpgi Apr 4, 2020
9af040b
bug fixes for GlobalOp; fix breakage
Apr 6, 2020
a5cb96d
fix test to reflect new lowering
Apr 7, 2020
e100de1
fix hello example on ubuntu
schweitzpgi Apr 7, 2020
d94efce
disambiguate alloca
schweitzpgi Apr 7, 2020
2669cac
rebase llvm-project/mono
schweitzpgi Apr 7, 2020
d04a5e6
fallout from parse tree changes
schweitzpgi Apr 7, 2020
240f259
add a simplified interface for SelectCaseOp building
schweitzpgi Apr 7, 2020
04d412f
implement parens
schweitzpgi Apr 7, 2020
1f2846a
fix bug
schweitzpgi Apr 8, 2020
773fca1
add LAPACK bug report
schweitzpgi Apr 8, 2020
1ea735b
clang-format files
schweitzpgi Apr 8, 2020
ec9354b
warning cleanup
schweitzpgi Apr 8, 2020
aaa6b46
add canon to tco
schweitzpgi Apr 8, 2020
50849f8
Merge branch 'mono' of github.com:schweitzpgi/f18 into mono
schweitzpgi Apr 8, 2020
ed60e75
lower RETURN statements correctly in SUBROUTINE
schweitzpgi Apr 8, 2020
06a56f5
update LAPACK bug list
schweitzpgi Apr 8, 2020
4d5f061
Merge pull request #76 from schweitzpgi/ch-lapack
schweitzpgi Apr 8, 2020
5f372be
update list
schweitzpgi Apr 8, 2020
1d9e65d
document list
schweitzpgi Apr 8, 2020
c696c24
fix nested if's bugs
Apr 8, 2020
1c48a1e
Merge pull request #78 from schweitzpgi/ch-lapack
schweitzpgi Apr 8, 2020
d30be81
update list
schweitzpgi Apr 8, 2020
08ff2f1
add code for namelist todo in IO.cpp
schweitzpgi Apr 8, 2020
f40952a
fix expression passing, introduce temp
schweitzpgi Apr 8, 2020
52608f1
rename open.f90 to better reflect what it tests
schweitzpgi Apr 8, 2020
0f98a25
implement format for data transfer statements
schweitzpgi Apr 9, 2020
d4f86dd
update the list
schweitzpgi Apr 9, 2020
325cc74
Merge pull request #79 from schweitzpgi/ch-lapack
schweitzpgi Apr 9, 2020
b25defe
disable memtoreg for now. needs to be reworked
schweitzpgi Apr 9, 2020
3906791
change the readme to reflect the move
schweitzpgi Apr 9, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 1 addition & 7 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,16 @@
BasedOnStyle: LLVM
AlignAfterOpenBracket: DontAlign
AlignEscapedNewlines: DontAlign
AllowShortCaseLabelsOnASingleLine: true
AllowShortIfStatementsOnASingleLine: true
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignOperands: false
AlignTrailingComments: false
ConstructorInitializerIndentWidth: 2
SpaceAfterTemplateKeyword: false
SpacesBeforeTrailingComments: 2
FixNamespaceComments: false
IncludeCategories:
- Regex: '^<'
Priority: 4
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 3
- Regex: '^"\.\./'
- Regex: '^"(flang|\.\.)/'
Priority: 2
- Regex: '.*'
Priority: 1
Expand Down
20 changes: 16 additions & 4 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@ def clang(arch):
"name": "test",
"image": "ubuntu",
"commands": [
"apt-get update && apt-get install -y clang-8 cmake ninja-build lld-8 llvm-dev libc++-8-dev libc++abi-8-dev",
"apt-get update && apt-get install -y clang-8 cmake ninja-build lld-8 llvm-8-dev libc++-8-dev libc++abi-8-dev libz-dev git",
"git clone --depth=1 -b f18 https://github.com/flang-compiler/f18-llvm-project.git llvm-project",
"mkdir llvm-project/build && cd llvm-project/build",
'env CC=clang-8 CXX=clang++-8 CXXFLAGS="-stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install -DLLVM_TARGETS_TO_BUILD=host -DLLVM_INSTALL_UTILS=On -DLLVM_ENABLE_PROJECTS="mlir" ../llvm',
"ninja install",
"cd ../..",
"mkdir build && cd build",
'env CC=clang-8 CXX=clang++-8 CXXFLAGS="-UNDEBUG -stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..',
'env CC=clang-8 CXX=clang++-8 CXXFLAGS="-UNDEBUG -stdlib=libc++" LDFLAGS="-fuse-ld=lld" cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. -DLLVM_DIR=/drone/src/llvm-project/install/lib/cmake/llvm -DMLIR_DIR=/drone/src/llvm-project/install/lib/cmake/mlir -DLLVM_EXTERNAL_LIT=/drone/src/llvm-project/build/bin/llvm-lit',
"ninja -j8",
"ctest --output-on-failure -j24",
"ninja check-all",
],
},
],
Expand All @@ -27,11 +33,17 @@ def gcc(arch):
"name": "test",
"image": "gcc",
"commands": [
"apt-get update && apt-get install -y cmake ninja-build llvm-dev",
"apt-get update && apt-get install -y cmake ninja-build llvm-dev libz-dev git",
"git clone --depth=1 -b f18 https://github.com/flang-compiler/f18-llvm-project.git llvm-project",
"mkdir llvm-project/build && cd llvm-project/build",
'env CC=gcc CXX=g++ LDFLAGS="-fuse-ld=gold" cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../install -DLLVM_TARGETS_TO_BUILD=host -DLLVM_INSTALL_UTILS=On -DLLVM_ENABLE_PROJECTS="mlir" ../llvm',
"ninja install",
"cd ../..",
"mkdir build && cd build",
'env CC=gcc CXX=g++ CXXFLAGS="-UNDEBUG" LDFLAGS="-fuse-ld=gold" cmake -GNinja -DCMAKE_BUILD_TYPE=Release ..',
'env CC=gcc CXX=g++ CXXFLAGS="-UNDEBUG" LDFLAGS="-fuse-ld=gold" cmake -GNinja -DCMAKE_BUILD_TYPE=Release .. -DLLVM_DIR=/drone/src/llvm-project/install/lib/cmake/llvm -DMLIR_DIR=/drone/src/llvm-project/install/lib/cmake/mlir -DLLVM_EXTERNAL_LIT=/drone/src/llvm-project/build/bin/llvm-lit',
"ninja -j8",
"ctest --output-on-failure -j24",
"ninja check-all",
],
},
],
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ CMakeCache.txt
*/*/Makefile
cmake_install.cmake
formatted
.DS_Store
.vs_code
Loading