-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP First idea Signed-off-by: Lucas Gracioso <[email protected]> * Repo TODO warning Signed-off-by: Lucas Gracioso <[email protected]> * Rewrite NVHPC tools class Signed-off-by: Lucas Gracioso <[email protected]> * Remove unused include Signed-off-by: Lucas Gracioso <[email protected]> * Add NVHPC SDK repo Signed-off-by: Lucas Gracioso <[email protected]> * Update nvhpc.h, create ITool.h Signed-off-by: Lucas Gracioso <[email protected]> * Fix typo in NVIDIA brand Signed-off-by: Vinícius Ferrão <[email protected]> * Fix another typo in NVIDIA brand Signed-off-by: Vinícius Ferrão <[email protected]> --------- Signed-off-by: Lucas Gracioso <[email protected]> Signed-off-by: Lucas Gracioso <[email protected]> Signed-off-by: Vinícius Ferrão <[email protected]> Co-authored-by: Vinícius Ferrão <[email protected]>
- Loading branch information
1 parent
c7c3b28
commit 6fad84a
Showing
13 changed files
with
202 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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 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 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 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
30 changes: 30 additions & 0 deletions
30
include/cloysterhpc/repos/offline/el8/RPM-GPG-KEY-NVIDIA-HPC-SDK
This file contains 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,30 @@ | ||
R"(-----BEGIN PGP PU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w | ||
BFNCoHP7fcw19F7gNaAhlk/l6hoBkwOv0uNOx/rAPmxaBoU4dxISsZdGnQFmKcei | ||
7dQ5Op0CxegvRyXX/jo1RLbPp/o9J3La7A7U3whryy0P57iE7Wz/fwgxfECd00AV | ||
U+ij+IMh1T67n+GkrieDyGAs/QfflClblaQfU4Cjb0+a66jFbqzn0fNBm48yXl7m | ||
v1EqxufQ704HKNfjKRHI7eT/++8msw3sYtUUVsRPUVevG5HZsRcN7YZTwb3MtzAx | ||
7D3Rt9HvQbUUpxJ8vjFX/fLSKwGZM8MixiHHxViJ81K7/ZD0wRZO1z5jFKmS/JyF | ||
UOQPaLGNE21C0mo+EFxFnjU7p1wGxpXe/mwtKGtCQVZKy+zVEymTXtgKlSVq6j3w | ||
Pzq87l+zxipBdOI1eD2xfXTVmDsZgB5U9Mgq01Ca9C5a/fUOVw+eASSbKePk1QAG | ||
EBPgqbmRYMosEQE1lwR+eX6iMkQ++fa9uUFW65ZtGXvtk7O7BayRXxoPydwtoh3V | ||
U45D+bhTJcVY7h4p | ||
=zQwq | ||
-----END PGP PUBLIC KEY BLOCK----- | ||
)" |
30 changes: 30 additions & 0 deletions
30
include/cloysterhpc/repos/offline/el9/RPM-GPG-KEY-NVIDIA-HPC-SDK
This file contains 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,30 @@ | ||
R"(-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Version: GnuPG v2.0.22 (GNU/Linux) | ||
|
||
mQINBGJYmlEBEACdGJ6pjuffnlGjIHnVteVfsVGHWNY5YB95fCKChP82pkqQsi1w | ||
Hlj7XBIMLe8hKU6UbJCbqJr1w5aZ6LIcznSwWjVVhTb4wWm8zAO8t/HY/xSSSAYk | ||
LMcq4U6R0pJ2cd1a5wfL8VwdwD2Buk0ZbfElTI+10cC0tAGM/5KHQF25Dv+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cN7YZTwb3MtzAx | ||
7D3Rt9HvQbUUpxJ8vjFX/fLSKwGZM8MixiHHxViJ81K7/ZD0wRZO1z5jFKmS/JyF | ||
UOQPaLGNE21C0mo+EFxFnjU7p1wGxpXe/mwtKGtCQVZKy+zVEymTXtgKlSVq6j3w | ||
Pzq87l+zxipBdOI1eD2xfXTVmDsZgB5U9Mgq01Ca9C5a/fUOVw+eASSbKePk1QAG | ||
EBPgqbmRYMosEQE1lwR+eX6iMkQ++fa9uUFW65ZtGXvtk7O7BayRXxoPydwtoh3V | ||
U45D+bhTJcVY7h4p | ||
=zQwq | ||
-----END PGP PUBLIC KEY BLOCK----- | ||
)" |
This file contains 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 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 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,21 @@ | ||
/* | ||
* Created by Lucas Gracioso <[email protected]> | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef CLOYSTERHPC_ITOOL_H_ | ||
#define CLOYSTERHPC_ITOOL_H_ | ||
|
||
#include "cloysterhpc/functions.h" | ||
#include "cloysterhpc/services/log.h" | ||
|
||
class ITool { | ||
protected: | ||
[[maybe_unused]] virtual void configure() = 0; | ||
|
||
public: | ||
virtual ~ITool() = default; | ||
virtual void install() = 0; | ||
}; | ||
|
||
#endif // CLOYSTERHPC_ITOOL_H_ |
This file contains 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,19 @@ | ||
/* | ||
* Created by Lucas Gracioso <[email protected]> | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#ifndef CLOYSTERHPC_NVHPC_H_ | ||
#define CLOYSTERHPC_NVHPC_H_ | ||
|
||
#include <cloysterhpc/tools/ITool.h> | ||
|
||
class NVhpc : public ITool { | ||
private: | ||
void configure() override; | ||
|
||
public: | ||
void install() override; | ||
}; | ||
|
||
#endif // CLOYSTERHPC_NVHPC_H_ |
This file contains 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 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 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,14 @@ | ||
/* | ||
* Created by Lucas Gracioso <[email protected]> | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include "cloysterhpc/tools/nvhpc.h" | ||
|
||
void NVhpc::install() | ||
{ | ||
LOG_TRACE("Installing NVIDIA HPC SDK"); | ||
cloyster::runCommand("dnf -y install nvhpc-24.3"); | ||
} | ||
|
||
void NVhpc::configure() {}; |