@@ -18,33 +18,28 @@ def __init__(self, nop=False):
18
18
19
19
def common_first (self ):
20
20
self .install_downloaders ()
21
- self .setup_pip ()
22
- self .pip_install ("wheel virtualenv" )
21
+ self .pip_install ("wheel" )
23
22
24
- if self .os == 'linux' :
25
- self .install ("ca-certificates" )
26
- self .install ("git unzip wget patchelf" )
23
+ self .install ("git unzip patchelf" )
27
24
self .install ("coreutils" ) # for realpath
28
25
29
26
def debian_compat (self ):
30
27
self .install ("gawk" )
31
28
self .install ("build-essential" )
32
29
self .install ("libssl-dev" )
33
- self .install ("clang-format" )
34
30
self .install ("python3-regex" )
35
31
self .install ("python3-psutil python3-networkx python3-numpy" )
36
- if self .arch == 'arm64v8' or self . arch == 'arm32v7' :
32
+ if self .platform . is_arm () :
37
33
self .install ("python3-dev" ) # python3-skimage
38
34
self .install ("libmpich-dev libopenblas-dev" ) # for libtorch
39
35
self .install_git_lfs_on_linux ()
40
36
41
37
def redhat_compat (self ):
42
38
self .install ("redhat-lsb-core" )
43
- self .run ("%s/readies/ bin/enable-utf8" % HERE )
39
+ self .run ("%s/bin/enable-utf8" % READIES )
44
40
45
- self .group_install ("'Development Tools'" )
46
41
self .run ("%s/bin/getgcc --modern" % READIES )
47
- self .install ("llvm-toolset-7" )
42
+ # self.install("llvm-toolset-7")
48
43
49
44
if self .arch == 'x64' :
50
45
self .install_linux_gnu_tar ()
@@ -63,7 +58,6 @@ def redhat_compat(self):
63
58
def fedora (self ):
64
59
self .group_install ("'Development Tools'" )
65
60
self .install ("python3 python3-psutil python3-networkx" )
66
- self .install ("clang" )
67
61
self .install_git_lfs_on_linux ()
68
62
69
63
def linux_last (self ):
@@ -73,18 +67,13 @@ def macos(self):
73
67
self .install_gnu_utils ()
74
68
self .install ("git-lfs" )
75
69
self .install ("redis" )
76
- self .install ("clang-format" )
77
70
78
71
def common_last (self ):
72
+ self .run ("%s/bin/getclang --format" % READIES )
79
73
self .run ("%s/bin/getcmake" % READIES )
80
74
81
- self .run ("python3 -m pip uninstall -y ramp-packer RLTest || true" )
82
- # redis-py-cluster should be installed from git due to redis-py dependency
83
- self .pip_install ("--no-cache-dir git+https://github.com/Grokzen/redis-py-cluster.git@master" )
84
- self .pip_install ("--no-cache-dir git+https://github.com/RedisLabsModules/RLTest.git@master" )
85
- self .pip_install ("--no-cache-dir git+https://github.com/RedisLabs/RAMP@master" )
75
+ self .run ("{PYTHON} {READIES}/bin/getrmpytools" .format (PYTHON = self .python , READIES = READIES ))
86
76
87
- self .pip_install ("-r %s/readies/paella/requirements.txt" % HERE )
88
77
self .pip_install ("-r %s/tests/flow/test_requirements.txt" % ROOT )
89
78
90
79
self .pip_install ("awscli" )
0 commit comments