From 7ebbe2706cd7f3ae02990a414e117ac094eeeba1 Mon Sep 17 00:00:00 2001 From: anmol thapar Date: Tue, 25 Feb 2025 09:54:12 +0000 Subject: [PATCH] Remove redundant wchar.h include from pairsnp.hpp and adjust CMake CXX_FLAGS for optimization --- CMakeLists.txt | 2 +- src/pairsnp.hpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a15b15ce..a1e6e724 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/src/pairsnp.hpp b/src/pairsnp.hpp index 4ae27c3d..d07aba39 100644 --- a/src/pairsnp.hpp +++ b/src/pairsnp.hpp @@ -1,6 +1,5 @@ #pragma once -#include #include #include #include