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 6ea3083 commit 0a0d49f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 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
2 changes: 1 addition & 1 deletion src/clib/lib/job_queue/job_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,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 @@ -31,7 +31,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 0a0d49f

Please sign in to comment.