Skip to content

Commit

Permalink
Merge pull request #55 from UM-Bridge/refactor/53-remove-hpc-umbridge…
Browse files Browse the repository at this point in the history
…-lib

refactor: #53 remove hpc-specific libraries to use single version
  • Loading branch information
linusseelinger committed Mar 5, 2024
2 parents e80cc59 + 4863354 commit 31861e8
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 34,177 deletions.
2 changes: 1 addition & 1 deletion hpc/LoadBalancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <unistd.h>
#include <limits.h>

#include "lib/umbridge.h"
#include "../lib/umbridge.h"

void create_directory_if_not_existing(std::string directory) {
if (!std::filesystem::is_directory(directory) || !std::filesystem::exists(directory)) {
Expand Down
2 changes: 1 addition & 1 deletion hpc/LoadBalancer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <tuple>
#include <memory>
#include <filesystem>
#include "lib/umbridge.h"
#include "../lib/umbridge.h"

// run and get the result of command
std::string getCommandOutput(const std::string command)
Expand Down
2 changes: 1 addition & 1 deletion hpc/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
all: build-load-balancer

load-balancer-files = LoadBalancer.cpp LoadBalancer.hpp lib/httplib.h lib/json.hpp lib/umbridge.h
load-balancer-files = LoadBalancer.cpp LoadBalancer.hpp ../lib/httplib.h ../lib/json.hpp ../lib/umbridge.h

build-load-balancer:
- g++ -O3 -Wno-unused-result -std=c++17 $(load-balancer-files) -o load-balancer -pthread
Loading

0 comments on commit 31861e8

Please sign in to comment.