Skip to content

Commit

Permalink
Remove redundant wchar.h include from pairsnp.hpp and adjust CMake CX…
Browse files Browse the repository at this point in the history
…X_FLAGS for optimization
  • Loading branch information
absternator committed Feb 25, 2025
1 parent 9da067b commit 7ebbe27
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if(UNIX AND NOT APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -O3 -ffast-math -funroll-loops -m64")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -ffast-math -funroll-loops -m64")

# Set paths for non standard lib/ and include/ locations
if(DEFINED ENV{CONDA_PREFIX})
Expand Down
1 change: 0 additions & 1 deletion src/pairsnp.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include <wchar.h>
#include <chrono>
#include <iostream>
#include <stdio.h>
Expand Down

0 comments on commit 7ebbe27

Please sign in to comment.