-
Notifications
You must be signed in to change notification settings - Fork 77
LAGraph v1.2 #308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
LAGraph v1.2 #308
Changes from all commits
Commits
Show all changes
994 commits
Select commit
Hold shift + click to select a range
90602ae
Renamed variables and changed output of RCC
GomezGab a7a119a
intial Swap Edges int 32 support
GomezGab 3008138
Merge branch 'SwapEdges_GB10' of github.com:GomezGab/LAGraph into Swa…
GomezGab 1d124fd
removed debug statements
GomezGab ab7164e
debug statements
GomezGab d6c787a
make commenting nicer
peicasey c1d5e97
added more tests
peicasey b90960b
change comments to be more accurate
peicasey 7ae6e58
add the options for the centrality update back
peicasey 0477f2f
fix test printouts
peicasey 50c9893
Merge branch 'RCC_GB10' into SwapEdges_GB10
b49af6e
merged RCC branch
5e2724d
Added Build to FA demo
GomezGab 26382a4
Turned off demo burble and fixed test
GomezGab 614727b
Demo prebuilt ramp
GomezGab d9a469e
archive cuda sync bug in dot3, phase2
DrTimothyAldenDavis c6b8ea9
remove cuda debugging output (see cuda_bug branch instead)
DrTimothyAldenDavis 3fd728f
Merge pull request #282 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis c6b4dd9
Added single threaded non-GB RCC algo
GomezGab 25c271e
changed eq op
GomezGab bc8baee
Parrallelizing non-GB approach
GomezGab 6d81f7f
Parallel NoGB Fix
GomezGab cd880b4
Fixed RCC for earlier GB versions. Speed Up No GB.
GomezGab 71afb0f
Removed FastAssign demo on lower GB versions
GomezGab 063ed7e
NoGB returns NOT IMPLEMENTED for GB <v10
GomezGab 111c380
Merge remote-tracking branch 'origin/RCC_GB10' into SwapEdges_GB10
GomezGab 1560f63
add nice comments to check
peicasey f4885ec
timings added
peicasey d21de78
fix matrix name
peicasey 30abbfd
Merge pull request #4 from peicasey/exact-lin-alg-ebc
peicasey 638b08f
Merge pull request #5 from peicasey/demo
peicasey 77931a1
initial approx
peicasey bc7c9f5
make commenting nicer
peicasey 12b9f43
added more tests
peicasey 9186370
change comments to be more accurate
peicasey 6695c3e
add the options for the centrality update back
peicasey 1d06ff5
fix test printouts
peicasey f317917
add nice comments to check
peicasey 7eb61a1
timings added
peicasey a63ba92
fix matrix name
peicasey 47fe5f4
Merge pull request #6 from peicasey/make-nicer
peicasey 105b53d
Apr 18 meeting
DrTimothyAldenDavis 119b5e4
AllKTruss testing on CUDA
DrTimothyAldenDavis 991418f
add approx to full c
peicasey f288837
turn on burble for bfs tests
DrTimothyAldenDavis a6cbf23
cholesky bug?
DrTimothyAldenDavis c396ded
incidence matrix: fix double-free of container objects
DrTimothyAldenDavis 1cfaaeb
github CI: using graphblas 10.0.3
DrTimothyAldenDavis 724203b
tests: memory leaks fixed
DrTimothyAldenDavis 8e72b42
turn off debugging for BFS tests
DrTimothyAldenDavis 5c08b62
verbose test on the Mac
DrTimothyAldenDavis 85cf3e1
verbose testing on the Mac, trying again
DrTimothyAldenDavis 823a345
workflow file: typo
DrTimothyAldenDavis 4a18fc2
verbose cmake for the Mac
DrTimothyAldenDavis 07134a0
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis 3800a14
Mac; yet again
DrTimothyAldenDavis c9a30b8
FindGraphBLAS
DrTimothyAldenDavis 38c30ba
removed void ptr functions
GomezGab b4f2f44
remove old swapedges file
GomezGab 7a84b29
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab c0f0e47
renamed function and changed demo call
GomezGab d2aef7e
add approximate EBC
peicasey 545bb5d
added many tests for approx
peicasey 4944505
add demo
peicasey 1f89477
Merge branch 'v1.2' into approx-vsn
peicasey daeeb57
Merge branch 'v1.2' into approx-vsn
peicasey 0b65549
fix demo
peicasey 78757d1
Merge pull request #7 from peicasey/approx-vsn
peicasey 8e2484a
Merge branch 'v1.2' into v1.2
peicasey 734c452
Add thesis
peicasey 611a1d5
make demo nicer
peicasey 1361ab9
review cmake for the Mac; adding to rpath
DrTimothyAldenDavis 3e6dc65
github: remove verbose test output
DrTimothyAldenDavis 0a108e0
github for Mac: try using latest libomp
DrTimothyAldenDavis 021f680
github again
DrTimothyAldenDavis 471b2a0
github on the Mac: libomp cask
DrTimothyAldenDavis 8c8d155
openmp on the mac
DrTimothyAldenDavis 7bbeba8
github: openmp version on the mac
DrTimothyAldenDavis 5b76369
printf compiler errors for LG_check_bfs.c
DrTimothyAldenDavis ed0b924
Merge pull request #284 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 3b6ace2
fix thesis and remove valgrind
peicasey d397070
update CMakeLists.txt
peicasey a61e84e
update CMakeLists again
peicasey 8c52667
Merge pull request #283 from peicasey/v1.2
DrTimothyAldenDavis 6915cc9
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 5acfd42
Merge pull request #285 from GraphBLAS/v1.2
DrTimothyAldenDavis 1f73428
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab de56aaf
Merge branch 'SwapEdges_GB10' into RCC_GB10
GomezGab 6e9abb5
LAGraph using OpenMP by default
DrTimothyAldenDavis 5cb3871
FindGraphBLAS: turn off verbose output
DrTimothyAldenDavis e430c2c
Moved out the rcc checker
GomezGab f4d3373
working on test coverage
DrTimothyAldenDavis 4eccb76
Merge pull request #286 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis e0571e5
more test coverage of experimental algorithms
DrTimothyAldenDavis 4373fb6
testing LCC and Markov clustering
DrTimothyAldenDavis 6c35b59
markov clustering: simpler finalization; full test coverage
DrTimothyAldenDavis af89275
testing Fiedler method
DrTimothyAldenDavis b4ec380
testing HITS algorithm
DrTimothyAldenDavis 893cadc
testing argmin/argmax
DrTimothyAldenDavis f8695d3
testing argmin/argmax
DrTimothyAldenDavis 5e86d19
Merge pull request #287 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis adcd31f
testing diameter and multibfs
DrTimothyAldenDavis 846c471
include rcc check on demo
GomezGab 3410828
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab e94b1d3
testing of maximum/maximal matching/etc
DrTimothyAldenDavis 7f710e4
Merge pull request #288 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 97e5d1b
tag untested lines in CFL and RegularPathQuery methods
DrTimothyAldenDavis 71818b2
Merge pull request #289 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis a3c5ca9
printf format in edge BC benchmark
DrTimothyAldenDavis 314c9e1
Merge pull request #290 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 92d3aed
Test: add rule with empty word to aS grammar
homka122 549262c
Test: add tests with empty adj matrix
homka122 e8c2417
Test: add some invalid state to rules and adj matrcies
homka122 8315558
Test: delete FIXME messages in CFL_reach algorithm
homka122 3402775
Merge pull request #291 from SparseLinearAlgebra/v1.2
DrTimothyAldenDavis 4d6a95e
Merge pull request #292 from GraphBLAS/v1.2
DrTimothyAldenDavis dd1b7a7
revise list of contributors
DrTimothyAldenDavis 411e6ed
Merge pull request #293 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis e3e4c4e
test with both SS:GrB 9.0.0 and 10.0.3
DrTimothyAldenDavis e743113
revise random number generator; move LAGraph_Random.c to src/utility
DrTimothyAldenDavis d6fbeda
random: revise comments
DrTimothyAldenDavis 8fbb0c1
remove fixme
DrTimothyAldenDavis e11a340
Merge pull request #294 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 4908acd
replace internal random number generator (LG_Random*) with xorshift64
DrTimothyAldenDavis 170d5c2
testing triangle count, with new sampledegree randomization
DrTimothyAldenDavis 767c29a
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 49f9c74
remove LAGraph_Random_Init and LAGraph_Random_Finalize (no longer nee…
DrTimothyAldenDavis c56046f
patching leaks
GomezGab ba7796e
define the golden_gamma constant for splitmix64
DrTimothyAldenDavis 420aac2
patched check mem leaks
GomezGab 5600af8
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 2905145
Merge pull request #296 from GomezGab/EBC_testing
DrTimothyAldenDavis ab322a9
Merge pull request #295 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis a65e941
resolve memory leaks in tests
DrTimothyAldenDavis 1b12f04
Merge pull request #297 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis e9adc45
fixed memory leaks in LAGraph_Coarsen_Matching
DrTimothyAldenDavis 42fcded
Merge pull request #298 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 1dbeedc
Fix regular path query test coverage
georgiy-belyanin a7d3134
fix leak in test_Coarsen_matching; add more to "make memcheck"
DrTimothyAldenDavis ca51cf4
Merge pull request #300 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 75bfadc
Merge pull request #299 from SparseLinearAlgebra/fix-rpq-cov
DrTimothyAldenDavis bf87909
Merge pull request #301 from GraphBLAS/v1.2
DrTimothyAldenDavis fda4783
memcheck: turn off show-reachable, to ignore spurious "leaks" in OpenMP
DrTimothyAldenDavis 4797b4d
Merge pull request #302 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis f671b86
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 104196f
first cut at risc-v github test
DrTimothyAldenDavis 24b76ed
test on risc-v
DrTimothyAldenDavis 827480f
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 563e615
test GrB_mxm; revise riscv test to use dev2 branch of GraphBLAS
DrTimothyAldenDavis 1489272
need a BFS with a max_level parameter
DrTimothyAldenDavis ae9d178
LG_Random fixes and starting test cov
GomezGab a4b9041
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab c952edb
testing: reduce test output, revise github workflows
DrTimothyAldenDavis f7df457
typo in workflow
DrTimothyAldenDavis ba69d16
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab f395ef7
cleanup testing (github workflows); fix ChangeLog
DrTimothyAldenDavis dcce54d
Merge pull request #304 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis b7c8d32
Remove test check for older versions
GomezGab 8e6c242
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 1a2a052
more coverage and added paper
GomezGab a4daaf4
hack fast_assign
DrTimothyAldenDavis 8e77eff
extended BFS: with max_level and dest options
DrTimothyAldenDavis 068e96f
move definition of LAGr_BreadthFirstSearch_Extended to LAGraphX.h
DrTimothyAldenDavis 3e64404
typo in test_BreadthFirstSearch
DrTimothyAldenDavis 73c4b8b
Merge pull request #306 from GraphBLAS/v1.2
DrTimothyAldenDavis e92a601
add many_expected parameter to BFS-extended
DrTimothyAldenDavis 86b1412
Merge pull request #307 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis a2fcfa5
Merge branch 'stable' into v1.2
DrTimothyAldenDavis 35e263b
Merge pull request #309 from GraphBLAS/v1.2
DrTimothyAldenDavis 2d14265
Merge branch 'RCC_GB10' of github.com:GomezGab/LAGraph into RCC_GB10
GomezGab fa59ff5
Test cov 100
GomezGab 623c72d
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab a7e86e5
move USING_GRAPHBLAS_V10 definition
GomezGab f7e4fdb
remove LAGraph_cc_lacc from cc_demo
DrTimothyAldenDavis a6ee64d
cleaning up pull request
hmukesh5 1d4fb8a
deleted a blank output file
hmukesh5 7dcaf42
Delete LAGraph_coloring_simple.c
hmukesh5 0758620
removing greedy C code
hmukesh5 770e74f
renamed independent set optimized -> independent set
hmukesh5 bfdbb35
editing print messages
hmukesh5 cc39fbd
Merge branch 'v1.2' into v1.2-with-coloring
hmukesh5 fabe6ff
updated header file after renaming algorithm
hmukesh5 6e4447f
fixed random initialization + finalize
hmukesh5 8e004d0
100% test coverage
hmukesh5 9c4c5c2
revise degree sampling for triangle counting
DrTimothyAldenDavis 05aa5b8
Merge pull request #311 from hmukesh5/v1.2-with-coloring
DrTimothyAldenDavis 88d5de0
Merge pull request #312 from GraphBLAS/v1.2
DrTimothyAldenDavis ccff17e
Merge pull request #313 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 1686664
add matrix for triangle count test coverage
DrTimothyAldenDavis ee58492
remove vscode json file
DrTimothyAldenDavis 101bf0e
Merge branch 'with_GraphBLAS_v10' of https://github.com/GraphBLAS/LAG…
DrTimothyAldenDavis 65a2053
Merge pull request #314 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 48078a5
coloring: remove printfs, fix return value for stall
DrTimothyAldenDavis e8d07ea
check coloring: revise printf format for uint64_t to avoid clang comp…
DrTimothyAldenDavis 37dc7a9
comments for v1.2, tests for vanilla case
DrTimothyAldenDavis 9f987e5
Merge pull request #315 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 2182be1
test with vanilla GraphBLAS
DrTimothyAldenDavis 263f56a
Merge pull request #316 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis c023057
add comments to random # generator. Simpler handling of !LAGRAPH_SUIT…
DrTimothyAldenDavis 68eab46
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 6e2d71e
moved out USING_GRAPHBLAS_V10 definition
GomezGab f2a9968
more fixes when LAGRAPH_SUITESPARSE is false
DrTimothyAldenDavis 1dd5f33
printf cleanup
DrTimothyAldenDavis e0a1871
replace GxB_SPARSITY_CONTROL with LG_SET_FORMAT_HINT
DrTimothyAldenDavis 4fe9692
replace GxB_BURBLE with LG_SET_BURBLE
DrTimothyAldenDavis 42f6463
replace GxB_JIT_C_CONTROL with LG_SET_JIT
DrTimothyAldenDavis 27f15f9
cleanup: remove commented-out GxB_set; replaced with LG_SET_*
DrTimothyAldenDavis 35c16ba
Merge pull request #317 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis a090228
add LG_check_argminmax to test LAGraph_argminmax
DrTimothyAldenDavis 64133fc
full test coverage; testing argmin/argmax
DrTimothyAldenDavis a8994ae
Merge pull request #318 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 31ccdae
test_diameter: check scalar results (exact diameter)
DrTimothyAldenDavis 704b593
Merge pull request #319 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 0dbee6f
revise github CI on risc-v: on dispatch only
DrTimothyAldenDavis 8712ec0
Merge pull request #320 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 09e1958
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab aa8be32
LAGr_SwapEdges interface
GomezGab e1ae407
Output Graph and swap count fix
GomezGab 91a94f7
brutal tests
GomezGab b9ba5e2
signedness fixes
GomezGab 919284a
build.yml: use latest release of SuiteSparse:GraphBLAS
DrTimothyAldenDavis 3c47e64
Merge pull request #321 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 91003c4
Renaming constants
GomezGab 1fd7489
resolve final FIXMEs in src/
DrTimothyAldenDavis d890701
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 22bc967
Merge pull request #322 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis af3964a
changes from SuiteSparse pr 952: avoiding VLAs and some gcc OpenMP ex…
DrTimothyAldenDavis 02f1237
Merge pull request #324 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 0f00c49
bug fix: LAGr_PeerPressureClustering; segfault on 32-bit platforms
DrTimothyAldenDavis eb85f8e
Merge pull request #325 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 9f6181a
Merge branch 'with_GraphBLAS_v10' of github.com:GraphBLAS/LAGraph int…
GomezGab 9dd40d3
changed swap output and inputs
GomezGab 5eee3cd
Merge pull request #310 from GomezGab/RCC_GB10
DrTimothyAldenDavis b28f61a
Merge pull request #326 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis b75e825
peer pressure: revise sizeof(..) in malloc
DrTimothyAldenDavis 8c2f5f4
Merge pull request #327 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis dd8586e
testing
DrTimothyAldenDavis a73a38b
testing
DrTimothyAldenDavis 31356bb
testing
DrTimothyAldenDavis 2aa3270
more cuda testing
DrTimothyAldenDavis 81b8715
Merge pull request #328 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 92ea5b3
revert extra output in test_lcc and test_Fiedler
DrTimothyAldenDavis ccc565b
remove clzl; other fixes for Windows
DrTimothyAldenDavis 32fd829
Merge pull request #329 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 1abfd3f
silence compiler warnings on many platforms
DrTimothyAldenDavis 65e1561
target release date for LAGraph 1.2
DrTimothyAldenDavis fad9d94
Merge pull request #330 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis 6bee9af
cleanup: rename FIXMEs to TODO, and remove some that are now resolved
DrTimothyAldenDavis 9f655d0
cleanup: more FIXMEs relabelled
DrTimothyAldenDavis 0533084
Merge pull request #331 from GraphBLAS/with_GraphBLAS_v10
DrTimothyAldenDavis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| name: arch-emu | ||
|
|
||
| # this is done on workflow_dispatch only since it takes a very long time | ||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
|
|
||
| alpine: | ||
| # Run armv7 on aarch64 runners | ||
| runs-on: ${{ matrix.arch == 'armv7' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }} | ||
|
|
||
| defaults: | ||
| run: | ||
| # Use emulated shell as default | ||
| shell: alpine.sh {0} | ||
|
|
||
| strategy: | ||
| matrix: | ||
| config: | ||
| # FIXME: switch to 10.1.0 when it is released: | ||
| - {grb_version: 10.0.5} | ||
| # For available CPU architectures, see: | ||
| # https://github.com/marketplace/actions/setup-alpine-linux-environment | ||
| arch: [riscv64] | ||
| include: | ||
| - arch: riscv64 | ||
| ccache-max: 28M | ||
|
|
||
| name: alpine (${{ matrix.arch }}) | ||
|
|
||
| steps: | ||
| - name: get CPU information (host) | ||
| shell: bash | ||
| run: lscpu | ||
|
|
||
| - name: checkout repository | ||
| uses: actions/checkout@v4 | ||
| # shell: bash | ||
|
|
||
| - name: install dependencies | ||
| uses: jirutka/setup-alpine@v1 | ||
| # shell: bash | ||
| with: | ||
| arch: ${{ matrix.arch }} | ||
| apk-tools-url: ${{ matrix.arch == 'armv7' | ||
| && 'https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/aarch64/apk.static#!sha256!27a975638ddc95a411c9f17c63383e335da9edf6bb7de2281d950c291a11f878' | ||
| || 'https://gitlab.alpinelinux.org/api/v4/projects/5/packages/generic/v2.14.7/x86_64/apk.static#!sha256!bdd044e0fd6cc388c5e571e1093efa5f35f7767cc5aa338b0a2576a429009a62' }} | ||
| packages: > | ||
| build-base | ||
| ccache | ||
| cmake | ||
| lscpu | ||
| libtool | ||
| git | ||
| sudo | ||
|
|
||
| - name: disable QEMU emulation | ||
| if: matrix.arch == 'armv7' | ||
| shell: bash | ||
| run: sudo update-binfmts --disable qemu-arm | ||
|
|
||
| - name: get CPU information (emulated) | ||
| run: lscpu | ||
|
|
||
| - name: build GraphBLAS | ||
| run: | | ||
| echo "gcc --version" | ||
| gcc --version | ||
| echo "gcc -dumpmachine" | ||
| gcc -dumpmachine | ||
| git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | ||
| cd GraphBLAS | ||
| # FIXME: switch to 10.1.0 when it is released: | ||
| # git checkout tags/v${{ matrix.config.grb_version }} | ||
| git checkout dev2 | ||
| make compact | ||
| sudo make install | ||
| cd .. | ||
|
|
||
| - name: build and test LAGraph | ||
| run: | | ||
| cd build | ||
| cmake .. | ||
| JOBS=2 make | ||
| ctest . --verbose | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,20 +8,29 @@ on: | |
| pull_request: | ||
|
|
||
| jobs: | ||
|
|
||
| linux: | ||
|
|
||
| runs-on: ubuntu-22.04 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| config: | ||
| # if there are multiple items in this list, only use should | ||
| # deployit=true for just one of them. | ||
| - {grb_version: 9.3.1, deployit: true} | ||
| # FIXME: use GraphBLAS v10.1.0 once it's released | ||
| - {grb_version: 9.0.0, deployit: false} | ||
| - {grb_version: 10.0.5, deployit: true} | ||
|
|
||
| steps: | ||
|
|
||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
|
|
||
| - name: Install tools for build | ||
| run: | | ||
| sudo apt install -y lcov | ||
|
|
||
| - name: Build GraphBLAS | ||
| run: | | ||
| git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | ||
|
|
@@ -30,40 +39,51 @@ jobs: | |
| make compact | ||
| sudo make install | ||
| cd .. | ||
|
|
||
| - name: Build project | ||
| run: | | ||
| export GRAPHBLAS_INCLUDE_DIR=`pwd`/GraphBLAS/include/suitesparse | ||
| export GRAPHBLAS_LIBRARY=`pwd`/GraphBLAS/lib/libgraphblas.so | ||
| cd build | ||
| cmake .. -DCOVERAGE=1 -DGRAPHBLAS_INCLUDE_DIR=${GRAPHBLAS_INCLUDE_DIR} -DGRAPHBLAS_LIBRARY=${GRAPHBLAS_LIBRARY} | ||
| cmake .. -DCOVERAGE=1 | ||
| JOBS=2 make | ||
| make test_coverage | ||
|
|
||
| - name: Deploy | ||
| uses: JamesIves/[email protected] | ||
| if: matrix.config.deployit && github.event_name == 'push' && github.ref == 'refs/heads/stable' | ||
| with: | ||
| branch: gh-pages | ||
| folder: build/test_coverage/ | ||
| single-commit: true | ||
|
|
||
| - name: Save output | ||
| uses: actions/[email protected] | ||
| if: matrix.config.deployit | ||
| with: | ||
| name: test_coverage | ||
| path: build/test_coverage/ | ||
|
|
||
| macos: | ||
|
|
||
| runs-on: macos-14 | ||
|
|
||
| strategy: | ||
| matrix: | ||
| config: | ||
| - {grb_version: 9.3.1} | ||
| # FIXME: use GraphBLAS v10.1.0 once it's released | ||
| - {grb_version: 9.0.0} | ||
| - {grb_version: 10.0.5} | ||
|
|
||
| steps: | ||
|
|
||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| brew tap-new libomp/cask | ||
| brew extract --version=14.0.6 libomp libomp/cask | ||
| brew install [email protected] | ||
|
|
||
| - name: Build GraphBLAS | ||
| run: | | ||
| git clone https://github.com/DrTimothyAldenDavis/GraphBLAS.git | ||
|
|
@@ -72,13 +92,13 @@ jobs: | |
| make compact | ||
| sudo make install | ||
| cd .. | ||
|
|
||
| - name: Build project | ||
| run: | | ||
| export GRAPHBLAS_INCLUDE_DIR=`pwd`/GraphBLAS/include/suitesparse | ||
| export GRAPHBLAS_LIBRARY=`pwd`/GraphBLAS/lib/libgraphblas.dylib | ||
| # adding an extra line to the CMakeLists.txt file to locate the libomp instance installed by brew | ||
| echo 'include_directories("/usr/local/opt/libomp/include")' | cat - CMakeLists.txt | ||
| cd build | ||
| CC=gcc cmake .. -DGRAPHBLAS_INCLUDE_DIR=${GRAPHBLAS_INCLUDE_DIR} -DGRAPHBLAS_LIBRARY=${GRAPHBLAS_LIBRARY} | ||
| cmake .. | ||
| JOBS=2 make | ||
| make test | ||
| ctest . | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,11 +2,6 @@ | |
|
|
||
| version: 2 | ||
|
|
||
| build: | ||
| os: ubuntu-22.04 | ||
| tools: | ||
| python: "3.12" | ||
|
|
||
| formats: | ||
|
|
||
|
|
||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before we release a stable v1.2, I will have a GraphBLAS v10.1.0 ready. That version of GraphBLAS has an important feature: the ability to force GraphBLAS.h to not expose any GxB methods to the user application, with
#define GRAPHBLAS_VANILLA
#include <GraphBLAS.h>
That addition to GraphBLAS enabled me to find some GxB's that had snuck into the LAGraph "vanilla" build.