Skip to content

Commit

Permalink
name change PRPOwl
Browse files Browse the repository at this point in the history
  • Loading branch information
preda committed Apr 25, 2024
1 parent 96e6a42 commit 8c378d5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
17 changes: 9 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,21 @@ POSTCOMPILE = @mv -f $(DEPDIR)/$*.Td $(DEPDIR)/$*.d && touch $@

LIBS = $(LIBPATH)

$(BIN)/gpuowl: ${OBJS}
$(BIN)/prpowl: ${OBJS}
$(CXX) $(CXXFLAGS) -o $@ ${OBJS} $(LIBS) -lOpenCL ${STRIP}

# Instead of linking with libOpenCL, link with libamdocl64
$(BIN)/gpuowl-amd: ${OBJS}
$(BIN)/prpowl-amd: ${OBJS}
$(CXX) $(CXXFLAGS) -o $@ ${OBJS} $(LIBS) -lamdocl64 -L/opt/rocm/lib ${STRIP}

$(BIN)/gpuowl-win.exe: ${OBJS}
$(CXX) $(CXXFLAGS) -o $@ ${OBJS} $(LIBS) -lOpenCL ${STRIP}
prpowl: $(BIN)/prpowl

exe: $(BIN)/prpowl
mv $(BIN)/prpowl $(BIN)/prpowl.exe

amd: $(BIN)/prpowl-amd

gpuowl: $(BIN)/gpuowl
exe: $(BIN)/gpuowl-win.exe
amd: $(BIN)/gpuowl-amd
all: gpuowl amd
all: prpowl amd

clean:
rm -rf build-debug build-release
Expand Down
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ namespace fs = std::filesystem;

int main(int argc, char **argv) {
initLog();
// log("GpuOwl VERSION %s\n", VERSION);

int exitCode = 0;

Expand All @@ -43,7 +42,7 @@ int main(int argc, char **argv) {
Args args;

initLog((poolDir / "gpuowl.log").string().c_str());
log("GpuOwl VERSION %s\n", VERSION);
log("PRPOwl %s\n", VERSION);

if (!poolDir.empty()) { args.readConfig(poolDir / "config.txt"); }
args.readConfig("config.txt");
Expand Down

0 comments on commit 8c378d5

Please sign in to comment.