File: test_other.m

package info (click to toggle)
suitesparse-graphblas 7.4.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 67,112 kB
  • sloc: ansic: 1,072,243; cpp: 8,081; sh: 512; makefile: 506; asm: 369; python: 125; awk: 10
file content (57 lines) | stat: -rw-r--r-- 1,064 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
function test_other
%TEST_OTHER installs all packages needed for extensive tests

% SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
% SPDX-License-Identifier: Apache-2.0

here = pwd ;
fprintf ('\n------------------installing ssget\n') ;
try
    index = ssget ;
catch
    cd ../../ssget
    addpath (pwd) ;
end
cd (here) ;

fprintf ('\n------------------installing spok\n') ;
cd spok
addpath (pwd) ;
try
    spok (sparse (1)) ;
catch
    spok_install ;
end
cd (here) ;

fprintf ('\n------------------installing SSMULT\n') ;
cd ../../SuiteSparse/MATLAB_Tools/SSMULT
addpath (pwd) ;
try
    L = sparse (1) ;
    ssmultsym (L, L) ;
catch
    ssmult_install
end
cd (here) ;

fprintf ('\n------------------installing CXSparse\n') ;
cd ../../SuiteSparse/CXSparse/MATLAB/CSparse
addpath (pwd) ;
try
    cs_sparse (1, 1, 1) ;
catch
    cs_make (1) ;
end
cd (here) ;

fprintf ('\n------------------installing CHOLMOD\n') ;
cd ../../SuiteSparse/CHOLMOD/MATLAB
addpath (pwd) ;
try
    sparse2 (1, 1, 1) ;
catch
    cholmod_make ;
end
cd (here) ;