Skip to content

Commit

Permalink
Merge pull request #21 from caps-tum/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
stepanvanecek authored Nov 10, 2023
2 parents 5a5d927 + 49c6fdd commit f16874b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
endif()
endif()

project(sys-sage VERSION 0.4.2 LANGUAGES C CXX )
#set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake;${CMAKE_MODULE_PATH}")
project(sys-sage VERSION 0.4.3 LANGUAGES C CXX )
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

#### dependencies
find_package(LibXml2 REQUIRED) # Use pkg-config via the LibXml2 find-module
Expand Down
2 changes: 1 addition & 1 deletion data-sources/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if(DS_HWLOC)
endif()

add_executable(hwloc-output hwloc-output.cpp)
target_link_libraries(hwloc-output HWLOC)
target_link_libraries(hwloc-output hwloc)
install(TARGETS hwloc-output DESTINATION bin)
endif()

Expand Down
2 changes: 1 addition & 1 deletion data-sources/hwloc-output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ string get_hwloc_topology_xml_string() {
}
//TODO replace with hwloc_topology_export_xmlbuffer?
stringstream xml_output_stream;
err = hwloc_topology_export_xml(topology, xml_output_stream, flags);
err = hwloc_topology_export_xml(topology, xml_output_stream.str().c_str(), flags);
if (err) {
cerr << "hwloc: Failed to export xml" << endl;
hwloc_topology_destroy(topology);
Expand Down
3 changes: 3 additions & 0 deletions src/DataPath.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#include "DataPath.hpp"

#include <cstdint>
#include <algorithm>

DataPath* NewDataPath(Component* _source, Component* _target, int _oriented, int _type){
return NewDataPath(_source,_target,_oriented,_type,(double)-1,(double)-1);
}
Expand Down
1 change: 1 addition & 0 deletions src/xml_dump.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <sstream>
#include <cstdint>

#include "xml_dump.hpp"
#include <libxml/parser.h>
Expand Down

0 comments on commit f16874b

Please sign in to comment.