Skip to content

Commit

Permalink
For windows, made generation of .dll files work
Browse files Browse the repository at this point in the history
  • Loading branch information
CerielJacobs committed Aug 7, 2022
1 parent d83b00c commit 5d87ab9
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 13 deletions.
14 changes: 7 additions & 7 deletions include/vlog/edb.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,21 +148,21 @@ class EDBLayer {

VLIBEXP void addTridentTable(const EDBConf::Table &tableConf, bool multithreaded);

void addTopKTable(const EDBConf::Table &tableConf);
VLIBEXP void addTopKTable(const EDBConf::Table &tableConf);

void addEmbTable(const EDBConf::Table &tableConf);
VLIBEXP void addEmbTable(const EDBConf::Table &tableConf);

#ifdef MYSQL
void addMySQLTable(const EDBConf::Table &tableConf);
VLIBEXP void addMySQLTable(const EDBConf::Table &tableConf);
#endif
#ifdef ODBC
void addODBCTable(const EDBConf::Table &tableConf);
VLIBEXP void addODBCTable(const EDBConf::Table &tableConf);
#endif
#ifdef MAPI
void addMAPITable(const EDBConf::Table &tableConf);
VLIBEXP void addMAPITable(const EDBConf::Table &tableConf);
#endif
#ifdef MDLITE
void addMDLiteTable(const EDBConf::Table &tableConf);
VLIBEXP void addMDLiteTable(const EDBConf::Table &tableConf);
#endif
VLIBEXP void addInmemoryTable(const EDBConf::Table &tableConf);
VLIBEXP void addSparqlTable(const EDBConf::Table &tableConf);
Expand All @@ -178,7 +178,7 @@ class EDBLayer {
NamedSemiNaiver prevSemiNaiver;

// need to import the mapping predid -> Predicate from prevSemiNaiver
void handlePrevSemiNaiver();
VLIBEXP void handlePrevSemiNaiver();

std::string name;

Expand Down
2 changes: 1 addition & 1 deletion include/vlog/edbconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class EDBConf {

void setRootPath(std::string path);

std::string getRootPath() const;
VLIBEXP std::string getRootPath() const;

const std::vector<Table> &getTables() const {
return tables;
Expand Down
2 changes: 1 addition & 1 deletion src/vlog/forward/edbfcinternaltable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ std::pair<std::shared_ptr<const Segment>,
SegmentInserter oldTuples(nfields);
SegmentInserter newTuples(nfields);
auto itr = getSortedIterator();
Term_t row[nfields];
Term_t row[256];
while (itr->hasNext()) {
itr->next();
for(size_t i = 0; i < nfields; ++i) {
Expand Down
2 changes: 1 addition & 1 deletion src/vlog/forward/fcinttable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ std::pair<std::shared_ptr<const Segment>,
SegmentInserter newTuples(nfields);

auto itr = getSortedIterator();
Term_t row[nfields];
Term_t row[256];
while (itr->hasNext()) {
itr->next();
for(size_t i = 0; i < nfields; ++i) {
Expand Down
1 change: 1 addition & 0 deletions src/vlog/ml/helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <string>
#include <sstream>
#include <iostream>
#include <ctime>
#include <vlog/ml/helper.h>

using namespace std;
Expand Down
16 changes: 13 additions & 3 deletions win64/vlog-core/vlog-core.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
<ClCompile Include="..\..\src\vlog\common\idxtupletable.cpp" />
<ClCompile Include="..\..\src\vlog\common\sqltable.cpp" />
<ClCompile Include="..\..\src\vlog\cycles\checker.cpp" />
<ClCompile Include="..\..\src\vlog\deps\detector.cpp" />
<ClCompile Include="..\..\src\vlog\deps\mapping.cpp" />
<ClCompile Include="..\..\src\vlog\deps\tgpath.cpp" />
<ClCompile Include="..\..\src\vlog\embeddings\embtable.cpp" />
<ClCompile Include="..\..\src\vlog\embeddings\topktable.cpp" />
<ClCompile Include="..\..\src\vlog\trigger\detector.cpp" />
<ClCompile Include="..\..\src\vlog\trigger\mapping.cpp" />
<ClCompile Include="..\..\src\vlog\trigger\tg.cpp" />
<ClCompile Include="..\..\src\vlog\trigger\tgpath.cpp" />
<ClCompile Include="..\..\src\vlog\forward\chasemgmt.cpp" />
<ClCompile Include="..\..\src\vlog\forward\column.cpp" />
<ClCompile Include="..\..\src\vlog\forward\edbfcinternaltable.cpp" />
Expand All @@ -48,9 +51,16 @@
<ClCompile Include="..\..\src\vlog\forward\seminaiver.cpp" />
<ClCompile Include="..\..\src\vlog\forward\seminaiver_threaded.cpp" />
<ClCompile Include="..\..\src\vlog\forward\seminaiver_trigger.cpp" />
<ClCompile Include="..\..\src\vlog\forward\egdresultjoinproc.cpp" />
<ClCompile Include="..\..\src\vlog\incremental\edb-table-from-idb.cpp" />
<ClCompile Include="..\..\src\vlog\incremental\edb-table-importer.cpp" />
<ClCompile Include="..\..\src\vlog\incremental\incremental-concepts.cpp" />
<ClCompile Include="..\..\src\vlog\incremental\removal.cpp" />
<ClCompile Include="..\..\src\vlog\inmemory\inmemorytable.cpp" />
<ClCompile Include="..\..\src\vlog\magic\wizard.cpp" />
<ClCompile Include="..\..\src\vlog\ml\ml.cpp" />
<ClCompile Include="..\..\src\vlog\ml\LogisticRegression.cpp" />
<ClCompile Include="..\..\src\vlog\ml\helper.cpp" />
<ClCompile Include="..\..\src\vlog\reasoner.cpp" />
<ClCompile Include="..\..\src\vlog\sparql\sparqliterator.cpp" />
<ClCompile Include="..\..\src\vlog\sparql\sparqltable.cpp" />
Expand Down

0 comments on commit 5d87ab9

Please sign in to comment.