-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Http Broadcast server for stats added (#22)
* Added http server to query miner stats * Rework CMake (#21) * Add build scripts and Building.md * Use CPMAddPackage for Boost if we cannot find it locally * Build on all branches * Call --dero-test * System update is slow. Stop doing it. * Cleanup * Fix a few build warnings * Add --xelis-test to GH workflow * Use Boost 1.85 if OS packages weren't found --------- Co-authored-by: Tritonn204 <tritonn204@gmail.com> * Corrected my merge conflict resolution in CMakeLists --------- Co-authored-by: dirkerdero <126991543+dirkerdero@users.noreply.github.com>
- Loading branch information
1 parent
a3763ba
commit b122910
Showing
14 changed files
with
283 additions
and
127 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,6 +34,7 @@ | |
/build | ||
/tests | ||
/boost-1.82.0/** | ||
/.cache | ||
|
||
# Xelis rust resources | ||
/src/xelis-hash/**.rs | ||
|
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 was deleted.
Oops, something went wrong.
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,20 @@ | ||
#!/bin/bash | ||
|
||
ret=0 | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
ROOT_DIR=$( cd -- "$( dirname -- "${SCRIPT_DIR}" )" &> /dev/null && pwd ) | ||
|
||
mkdir build | ||
pushd build | ||
cmake .. | ||
ret=$? | ||
if [[ "$ret" != "0" ]]; then | ||
rm -rf ./* | ||
cmake .. | ||
fi | ||
make -j $(nproc) | ||
ret=$? | ||
popd | ||
|
||
exit $ret |
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,12 @@ | ||
#!/bin/bash | ||
|
||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
ROOT_DIR=$( cd -- "$( dirname -- "${SCRIPT_DIR}" )" &> /dev/null && pwd ) | ||
|
||
if [[ -f /etc/lsb-release ]]; then | ||
source /etc/lsb-release | ||
sudo apt install git wget build-essential cmake clang libssl-dev libudns-dev libfmt-dev libc++-dev lld | ||
if [[ "$DISTRIB_CODENAME" == "noble" ]]; then | ||
sudo apt install libboost1.83-all-dev | ||
fi | ||
fi |
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
Oops, something went wrong.