Skip to content

Commit

Permalink
🐛 Fix bugs after merge, esp. missing headers
Browse files Browse the repository at this point in the history
  • Loading branch information
ystade committed Sep 18, 2024
1 parent ccfd6d0 commit 1858450
Show file tree
Hide file tree
Showing 12 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions include/na/nalac/NAMapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

#pragma once

#include "../Configuration.hpp"
#include "Architecture.hpp"
#include "na/Configuration.hpp"
#include "na/Architecture.hpp"
#include "Definitions.hpp"
#include "ir/QuantumComputation.hpp"
#include "ir/operations/Operation.hpp"
Expand Down
2 changes: 1 addition & 1 deletion include/na/nasp/CodeGenerator.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#include "QuantumComputation.hpp"
#include "ir/QuantumComputation.hpp"
#include "Solver.hpp"
#include "na/NAComputation.hpp"
#include "na/NADefinitions.hpp"
Expand Down
2 changes: 1 addition & 1 deletion include/na/nasp/Solver.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once

#include "Definitions.hpp"
#include "yaml-cpp/node/node.h"

#include <cstddef>
#include <cstdint>
Expand All @@ -10,6 +9,7 @@
#include <string>
#include <utility>
#include <vector>
#include <yaml-cpp/node/node.h>
#include <z3++.h>

namespace na {
Expand Down
4 changes: 2 additions & 2 deletions include/na/nasp/SolverFactory.hpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#pragma once

#include "Architecture.hpp"
#include "QuantumComputation.hpp"
#include "na/Architecture.hpp"
#include "ir/QuantumComputation.hpp"
#include "Solver.hpp"
#include "na/NADefinitions.hpp"

Expand Down
4 changes: 2 additions & 2 deletions src/na/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set(MQT_QMAP_NA_TARGET_NAME ${MQT_QMAP_TARGET_NAME}-na)

if(NOT TARGET ${MQT_QMAP_NA_TARGET_NAME})
file(GLOB_RECURSE NA_HEADERS ${MQT_QMAP_INCLUDE_BUILD_DIR}/na/*.hpp)
file(GLOB_RECURSE NA_SOURCES *.cpp)
file(GLOB NA_HEADERS ${MQT_QMAP_INCLUDE_BUILD_DIR}/na/*.hpp)
file(GLOB NA_SOURCES *.cpp)

add_library(${MQT_QMAP_NA_TARGET_NAME} ${NA_HEADERS} ${NA_SOURCES})

Expand Down
2 changes: 1 addition & 1 deletion src/na/nalac/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(NOT TARGET ${MQT_QMAP_NALAC_TARGET_NAME})
add_library(${MQT_QMAP_NALAC_TARGET_NAME} ${NALAC_HEADERS} ${NALAC_SOURCES})

target_include_directories(${MQT_QMAP_NALAC_TARGET_NAME}
PUBLIC $<BUILD_INTERFACE:${MQT_QMAP_INCLUDE_BUILD_DIR}/na/nalac>)
PUBLIC $<BUILD_INTERFACE:${MQT_QMAP_INCLUDE_BUILD_DIR}>)

target_link_libraries(
${MQT_QMAP_NALAC_TARGET_NAME}
Expand Down
2 changes: 1 addition & 1 deletion src/na/nalac/NAGraphAlgorithms.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "NAGraphAlgorithms.hpp"
#include "na/nalac/NAGraphAlgorithms.hpp"

#include "Definitions.hpp"
#include "datastructures/DirectedAcyclicGraph.hpp"
Expand Down
4 changes: 2 additions & 2 deletions src/na/nalac/NAMapper.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "na/NAMapper.hpp"
#include "na/nalac/NAMapper.hpp"

#include "Definitions.hpp"
#include "datastructures/Layer.hpp"
Expand All @@ -9,7 +9,7 @@
#include "na/Architecture.hpp"
#include "na/Configuration.hpp"
#include "na/NADefinitions.hpp"
#include "na/NAGraphAlgorithms.hpp"
#include "na/nalac/NAGraphAlgorithms.hpp"
#include "na/operations/NAGlobalOperation.hpp"
#include "na/operations/NALocalOperation.hpp"
#include "na/operations/NAShuttlingOperation.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/na/nasp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if(NOT TARGET ${MQT_QMAP_NASP_TARGET_NAME})
add_library(${MQT_QMAP_NASP_TARGET_NAME} ${NASP_HEADERS} ${NASP_SOURCES})

target_include_directories(${MQT_QMAP_NASP_TARGET_NAME}
PUBLIC $<BUILD_INTERFACE:${MQT_QMAP_INCLUDE_BUILD_DIR}/na/nasp>)
PUBLIC $<BUILD_INTERFACE:${MQT_QMAP_INCLUDE_BUILD_DIR}>)

target_link_libraries(
${MQT_QMAP_NASP_TARGET_NAME}
Expand Down
8 changes: 4 additions & 4 deletions src/na/nasp/CodeGenerator.cpp
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#include "nasp/CodeGenerator.hpp"
#include "na/nasp/CodeGenerator.hpp"

#include "Definitions.hpp"
#include "QuantumComputation.hpp"
#include "ir/QuantumComputation.hpp"
#include "datastructures/Layer.hpp"
#include "na/NAComputation.hpp"
#include "na/NADefinitions.hpp"
#include "na/operations/NAGlobalOperation.hpp"
#include "na/operations/NALocalOperation.hpp"
#include "na/operations/NAShuttlingOperation.hpp"
#include "nasp/Solver.hpp"
#include "operations/OpType.hpp"
#include "na/nasp/Solver.hpp"
#include "ir/operations/OpType.hpp"

#include <algorithm>
#include <cstddef>
Expand Down
2 changes: 1 addition & 1 deletion src/na/nasp/Solver.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "nasp/Solver.hpp"
#include "na/nasp/Solver.hpp"

#include "Definitions.hpp"

Expand Down
10 changes: 5 additions & 5 deletions src/na/nasp/SolverFactory.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#include "SolverFactory.hpp"
#include "na/nasp/SolverFactory.hpp"

#include "Architecture.hpp"
#include "QuantumComputation.hpp"
#include "Solver.hpp"
#include "na/Architecture.hpp"
#include "ir/QuantumComputation.hpp"
#include "na/nasp/Solver.hpp"
#include "na/NADefinitions.hpp"
#include "operations/OpType.hpp"
#include "ir/operations/OpType.hpp"

#include <algorithm>
#include <cmath>
Expand Down

0 comments on commit 1858450

Please sign in to comment.