Skip to content

Commit

Permalink
Rem from cmakelist
Browse files Browse the repository at this point in the history
  • Loading branch information
xjules committed Nov 10, 2023
1 parent 4d58a12 commit a246da3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/clib/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ pybind11_add_module(
job_queue/job_list.cpp
job_queue/job_node.cpp
job_queue/job_queue.cpp
job_queue/job_queue_status.cpp
job_queue/local_driver.cpp
job_queue/lsf_driver.cpp
job_queue/queue_driver.cpp
Expand Down
3 changes: 1 addition & 2 deletions src/clib/lib/job_queue/job_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

struct job_queue_struct {
job_list_type *job_list = nullptr;
job_queue_status_type *status = nullptr;
/** A pointer to a driver instance (LSF|LOCAL) which actually 'does it'. */
queue_driver_type *driver = nullptr;
};
Expand All @@ -28,7 +27,7 @@ int job_queue_add_job_node(job_queue_type *queue, job_queue_node_type *node) {

pthread_mutex_lock(&node->data_mutex);

if ((job_queue_node_get_status(node) != JOB_QUEUE_WAITING) && (target_status != JOB_QUEUE_STATUS_FAILURE))
if (job_queue_node_get_status(node) != JOB_QUEUE_WAITING)
job_queue_node_set_status(node, JOB_QUEUE_WAITING);

pthread_mutex_unlock(&node->data_mutex);
Expand Down
1 change: 0 additions & 1 deletion src/clib/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ add_executable(
job_queue/test_job_slurm_driver.cpp
$<$<BOOL:${SBATCH}>:job_queue/test_job_slurm_submit.cpp> # if found add file
$<$<BOOL:${SBATCH}>:job_queue/test_job_slurm_runtest.cpp> # if found add file
job_queue/test_job_status.cpp
job_queue/test_job_torque.cpp
job_queue/test_job_torque_submit.cpp
job_queue/test_lsf_driver.cpp
Expand Down

0 comments on commit a246da3

Please sign in to comment.