@@ -18,33 +18,28 @@ def __init__(self, nop=False):
1818
1919 def common_first (self ):
2020 self .install_downloaders ()
21- self .setup_pip ()
22- self .pip_install ("wheel virtualenv" )
21+ self .pip_install ("wheel" )
2322
24- if self .os == 'linux' :
25- self .install ("ca-certificates" )
26- self .install ("git unzip wget patchelf" )
23+ self .install ("git unzip patchelf" )
2724 self .install ("coreutils" ) # for realpath
2825
2926 def debian_compat (self ):
3027 self .install ("gawk" )
3128 self .install ("build-essential" )
3229 self .install ("libssl-dev" )
33- self .install ("clang-format" )
3430 self .install ("python3-regex" )
3531 self .install ("python3-psutil python3-networkx python3-numpy" )
36- if self .arch == 'arm64v8' or self . arch == 'arm32v7' :
32+ if self .platform . is_arm () :
3733 self .install ("python3-dev" ) # python3-skimage
3834 self .install ("libmpich-dev libopenblas-dev" ) # for libtorch
3935 self .install_git_lfs_on_linux ()
4036
4137 def redhat_compat (self ):
4238 self .install ("redhat-lsb-core" )
43- self .run ("%s/readies/ bin/enable-utf8" % HERE )
39+ self .run ("%s/bin/enable-utf8" % READIES )
4440
45- self .group_install ("'Development Tools'" )
4641 self .run ("%s/bin/getgcc --modern" % READIES )
47- self .install ("llvm-toolset-7" )
42+ # self.install("llvm-toolset-7")
4843
4944 if self .arch == 'x64' :
5045 self .install_linux_gnu_tar ()
@@ -63,7 +58,6 @@ def redhat_compat(self):
6358 def fedora (self ):
6459 self .group_install ("'Development Tools'" )
6560 self .install ("python3 python3-psutil python3-networkx" )
66- self .install ("clang" )
6761 self .install_git_lfs_on_linux ()
6862
6963 def linux_last (self ):
@@ -73,18 +67,13 @@ def macos(self):
7367 self .install_gnu_utils ()
7468 self .install ("git-lfs" )
7569 self .install ("redis" )
76- self .install ("clang-format" )
7770
7871 def common_last (self ):
72+ self .run ("%s/bin/getclang --format" % READIES )
7973 self .run ("%s/bin/getcmake" % READIES )
8074
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 ))
8676
87- self .pip_install ("-r %s/readies/paella/requirements.txt" % HERE )
8877 self .pip_install ("-r %s/tests/flow/test_requirements.txt" % ROOT )
8978
9079 self .pip_install ("awscli" )
0 commit comments