Skip to content

Commit

Permalink
Give up
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDTill committed Nov 7, 2024
1 parent 6bc74d6 commit 138261f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/source_instructions.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Compile
apt-get install cmake python3 qtbase5-dev libqt5svg5-dev
apt-get install cmake python3 qtbase5-dev
pip3 install -v "conan==1.65.0"
conan profile new default --detect && conan profile update settings.compiler.libcxx=libstdc++11 default
git clone https://github.com/JohnDTill/Forscape
cd ./Forscape
conan install --generator cmake_find_package --install-folder ./build/conan-dependencies ./app
cmake -DCMAKE_BUILD_TYPE=Release -B build -S app
cmake -DCMAKE_BUILD_TYPE=Debug -B build -S app
cd build
make

Expand Down
10 changes: 5 additions & 5 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,12 @@ elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(Forscape PRIVATE
$<$<CONFIG:Debug>:-O1> #Need optimisation for MinGW to compile w/ Eigen unsupported
-Wall -Wextra -pedantic #-Werror #EVENTUALLY: address warnings
#$<$<CONFIG:Release>: -Ofast -fmodulo-sched -fmodulo-sched-allow-regmoves -fgcse-sm -fgcse-las -fdelete-null-pointer-checks
#-fomit-frame-pointer -funroll-loops -fvisibility=hidden> #-fwhole-program -flto
$<$<CONFIG:Release>: -Ofast -fmodulo-sched -fmodulo-sched-allow-regmoves -fgcse-sm -fgcse-las -fdelete-null-pointer-checks
-fomit-frame-pointer -funroll-loops -fvisibility=hidden -fwhole-program -flto>
)
target_link_options(Forscape PRIVATE
$<$<CONFIG:Debug>:-Wa,-mbig-obj>
)
#target_link_options(Forscape PRIVATE
# -Wa,-mbig-obj
#)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# using Clang
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
Expand Down

0 comments on commit 138261f

Please sign in to comment.