Skip to content
Browse files
project: back out from AVX requirement to SSE3
  • Loading branch information
JaCzekanski committed Aug 17, 2019
1 parent 249e996 commit 55fc86d15cc806bfdc0ec289c0b6761e79396305
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 9 deletions.
@@ -49,7 +49,7 @@ Currently audio is hard synced to NTSC (60Hz) (**running PAL games will make aud
## Requirements
- OS: Windows 7 or later, macOS 10.13 or later, Linux
- GPU: Graphics card supporting **OpenGL 3.2**
- CPU: [AVX compatible x64 processor]( or any x86 processor
- CPU: [SSE3 compatible (CPUs after 2004)]( x64 or x86 processor

### Notes
Avocado focuses on supporting relatively modern hardware (2010 and forwards) and non-legacy OSes.
@@ -1,13 +1,16 @@
include "premake/tools.lua"
require "./premake/androidmk"

-- Windows support 32bit and 64bit versions
-- Linux - as well
-- MacOS is 64bit only
-- Android has ARM architecture - Android studio decides on ABI
-- Web - single architecture

workspace "Avocado"
configurations { "debug", "release" }
platforms {"x86", "x64"}
startproject "avocado"
defaultplatform "x86"

ndkabi "arm64-v8a armeabi-v7a"
ndkstl "c++_static"
ndkplatform "android-24"

@@ -59,20 +62,36 @@ filter {}
exceptionhandling "On"
rtti "On"

filter "platforms:x86"
architecture "x32"
filter "system:windows"
platforms {"x86", "x64"}
defaultplatform "x64"

filter "platforms:x64"
architecture "x64"
vectorextensions "AVX"
filter "system:linux"
platforms {"x86", "x64"}
defaultplatform "x64"

filter "system:macosx"
platforms {"x64"}
defaultplatform "x64"
xcodebuildsettings {

filter "system:android"
platforms {"arm"}
defines { "USE_OPENGLES"}

filter "platforms:x86"
architecture "x32"
vectorextensions "SSE3"

filter "platforms:x64"
architecture "x64"
vectorextensions "SSE3"

filter "platforms:arm"
architecture "arm"
vectorextensions "NEON"

filter "kind:*App"
targetdir "build/%{cfg.buildcfg}_%{cfg.platform}"

0 comments on commit 55fc86d

Please sign in to comment.