[OpenSmalltalk/opensmalltalk-vm] More manual cmake settings management (#543)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] More manual cmake settings management (#543)

David T Lewis
 

The previous WIP PR was copying the template file to "CMakeSettings.jsonx" (notice the x on the end).
When changed to copy over actual user "CMakeSettings.json", Visual Studio was automatically re-parsing "CMakeSettings.json" and the info messages didn't get shown long enough to understand what was happening.

So I believe copying the template over the user build settings will need to be a manual operation per this PR.


You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543

Commit Summary

  • Use download_project to get libffi at configure time.
  • We cannot validate the class of a ByteString only, we need to check ByteSymbol and maybe there are others users of this.
  • Split FFI feature into FEATURE_FFI and FEATURE_THREADED_FFI
  • Fixing socket plugin options for OSX
  • Added Linux cmake helper
  • Merge branch 'feat/obs-packaging' of github.com:pharo-project/opensmalltalk-vm into feat/obs-packaging
  • Fixed types for Unix
  • The exception handle should be the last called,
  • Fix link to uuid on OSX
  • Merge remote-tracking branch 'origin/headless' into feat/obs-packaging
  • Fixes to restore cmake builds
  • Simplify windows build and make it the same as cygwin
  • Adding configuration to detect in which thread to show the exceptions
  • Adding filter for showing exceptions in windows. Many libraries handles the errors locally, and out handler is global
  • Merge pull request #122 from tesonep/improving-windows-error-reporting
  • Merge branch 'headless' into aarch64
  • - Moving memory access primitives
  • Adding needed macros
  • Compiling the old FFI plugin in windows clang
  • Simplify dependency download for windows
  • Fix getCrashDumpFilenameInto buffer size
  • Fixing the macro name
  • Moving the ManualSurface to the SurfacePlugin
  • Implementing more FFI primitives in the VM
  • Fixing OS_TYPE to recognize windows on 32 bits images
  • Fix File Plugin to make it work on 32bit systems
  • Adding type information to variable that is expected to be used in comparison
  • Fixing the type of the argument before using it.
  • Add Freetype support for windows
  • Adding a cast in the call to SQABS functions
  • Fixing flag declaration
  • [improvement] add test on type inference
  • [fix] integer wasn't big enough for a test, fix longPrintOop: type conflict
  • [improvement] add a activable error for type conflicts
  • Improving the generation MoveRMwr
  • [improvement] better name for instance variable
  • Removing unused methods in the implementation
  • [improvement] add accessor to set stopOnError
  • [fix] simple type fixing for the stackVM
  • [fix] fixing last StackInterpreter types conflict. This one might be dangerous.
  • Cross-platform vmmaker bootstrap done for Windows
  • Fixing missing case for MoveMbrR
  • Pass on Libgit installation and sockets plugin for windows
  • Fixing instruction length and calculus of literal usage.
  • Make linux search for libraries in the system instead of compiling them
  • Make the new cmake configuration work for osx
  • Adding tests and a new instruction
  • Fix superclass
  • Fix typing of fetchLong32: fieldIndex ofFloatObject: oop correctly
  • Moving stuff around to clean dependencies
  • Removing reverse dependency
  • Fixing Baseline
  • Cleanups
  • Organizing Slang in tags
  • More dependency cleanups, starting separating type inference
  • Adding tests for the memory access JIT primitives and fixing the missing instructions
  • Returning a value to comply with the translation to C
  • The machine implementatio of primitiveAt should not SignExtend the numbers.
  • Merge branch 'feat/libffi-windows' into Windows-vmmaker-bootstrap
  • Fixing encoding of instruction CmpCqR and adding tests.
  • Remove PThreaded plugin
  • Merge 3152f2f6734f5b3d01e2cbd04bd8ef0ba2f21852
  • Put back cairo download
  • Merge CCode Generator
  • Fix obsolete reference
  • Making the build pass
  • Uncommenting Cogit generation
  • Restore sq.h
  • Recover inheritance rules of cogit and memory...
  • Do not check for bindingOf: in classes
  • Correct the control flow
  • Remove halt
  • Fix options
  • Restore preamble
  • Merge pull request #124 from bencoman/Windows-vmmaker-bootstrap
  • VMMaker for OSX
  • Rely on Slang Type inference
  • Fix primitive compilation
  • Fix externalPrimitiveTable for simulation
  • Merge 8353b0f4b952c59c7a8d0ad4dfbd27fcb736d6f9
  • Fix conflicting instance variable
  • Fixing last merge details
  • Moving CArray + friends to Slang
  • Fix broken global reference
  • Add Linux vmmaker build support
  • Merge branch 'headless' into feat/libffi-windows
  • Fix assertion warnings
  • Do not download cairo on linux
  • Make download scripts depend on the platform and not on the CMake installation
  • Fix not->NOT syntax error
  • make SDL2 to be able to prefer downloads
  • Make PHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES true by default in the CI
  • Make use of the correct SLD2 binary for the platform
  • Fixing copy paths of downloaded libraries
  • Make use of -DPHARO_DEPENDENCIES_PREFER_DOWNLOAD_BINARIES=TRUE in non-windows too
  • linking libffi when not found too
  • Make system libffi controllable
  • Same download pattern for Git2
  • Same download pattern for Git2
  • Fix syntax error
  • Same build pattern for freetype
  • Try to fix DownloadProject PATH
  • use different version of pixman
  • Libgit other libraries
  • fix non windows names
  • Fix libgit1 url for unix
  • Fix libgit1 url for unix
  • Make OSX come before Unix
  • Pass on libffi for Cygwin
  • Disable PIC only on CYGWIN
  • Fix includes libffi
  • making libffi imports global
  • Merge pull request #126 from pharo-project/enh/split-slang2
  • Merge branch 'headless' into fix/assertion-warning
  • Merge pull request #128 from pharo-project/fix/assertion-warning
  • Fixing upload archive names and keep them backward compatible
  • Merge remote-tracking branch 'origin/headless' into feat/libffi-windows
  • Surface plugin depends on FFI
  • Push up jitMehtod
  • First test on block
  • Start StackBuilderRefactor
  • [fix] fix theo's code
  • Remove start of refactoring
  • Merge ffb424cb9abcef0cb60aa951498eb0bfddb143f3
  • Start new test with class not installed in class table
  • [improvement] get bytecode address for an index + a method, more readeable.
  • Merge 2f7099ea3ad8040f137acf15acdf85a650f6cbe6
  • [improvement] add automatically set of IP, should be tested
  • [fix] fix accessor depth calculation in the simulation
  • [improvement] one more (failing) test about block closure :)
  • [fix] fixed a message send to the right message, probably a failled merge
  • Use shell cp to copy files
  • [improvement] we shouldn't need to set the instruction pointer by hand anymore.
  • Remove fall back case when an the receiver was not a context
  • Remove a weird check to know if the result was a Float Nan
  • Removing unused primitiveScanCharacters
  • [improvement] use a method rather than inlining it in generation
  • [improvement] remove most Ccode: strings in interpreter primitives
  • Merge branch 'headless' into gc-tests
  • Merging all tests.
  • packaging inside the right directory
  • Remove test for pre Spur creation path
  • Add test for copy variable, PC and numArgs for Closure
  • [fix] woups, typo
  • Removing the dummy implmentation of the security plugin
  • Avoid negative logic when possible.
  • try to get git short hash
  • Merge pull request #137 from bencoman/Change-to-DOWNLOAD_DEPENDENCIES
  • Use architecture qualified platform names
  • Merge branch 'feat/libffi-windows' of github.com:pharo-project/opensmalltalk-vm into feat/libffi-windows
  • Merge pull request #127 from pharo-project/feat/libffi-windows
  • Merge pull request #135 from pharo-project/removeCCodeStrings
  • Merge pull request #133 from tesonep/removing-unused-scanner-primitive
  • Merge pull request #130 from pharo-project/setInstructionPointerAutomatically
  • Merge pull request #136 from tesonep/removing-security-plugin
  • Merge branch 'headless' into BlockTest
  • Adding TestLibrary and fixing some problems
  • Fixing the DEBUG for building from the command line
  • WIP proposed template management of CMakeSettings.json
  • Marking functions as export
  • Fix typos in Freetype building
  • Fix dependencies on git2 building
  • sqManualSurface does not really depend on FFI
  • Remove old FFI from the build as it does not work on ARM64
  • Remove old libFFI configuration
  • Correctly set the target compilation processor as the target CPU
  • Testing in the CI
  • Testing in the CI
  • Merge pull request #129 from pharo-project/BlockTest
  • Merge pull request #132 from pharo-project/FloatNan
  • remove syntaxed error test. We'll get it back from the current development branch
  • Merge pull request #143 from hogoww/headless
  • Fix freetype dependency resolution. Set it only if found
  • Combine GNUISATION feature with JIT flavoured vm construction.
  • Properly initialize maxStackFramesToPrint to 0
  • Properly initialize mutex
  • Cleaner flushICacheFromTo transpilation putting processor as implicit => this helps avoiding macro in MSVCs
  • Take sigjmp support and JIT api into separate header files.
  • Include pharovm in the includes to build
  • Cleanups in flushCache => remove the processor variable and hide it inside a not generated method that is replaced by a C implementation
  • Merge branch 'enh/stack-windows-arm64' of https://github.com/guillep/opensmalltalk-vm into enh/stack-windows-arm64
  • Making Cairo to not find the one in the OS
  • In Windows the epoch is from 1601, convert it to Pharo's 1901
  • Put longjmp support in a single place
  • Added StackWalk for ARM64
  • Properly define permission flags on Windows
  • Use _WIN32 preprocessor macro instead of WIN64
  • Better comment for windows UTC time conversion
  • Merge remote-tracking branch 'origin/headless' into enh/stack-windows-arm64
  • Merge pull request #140 from pharo-project/adding-TestLibrary
  • Merge remote-tracking branch 'origin/headless' into enh/stack-windows-arm64
  • [improvement] temps & arguments are now set automatically from method oop, and throw errors when there's a missmatch (see tests)
  • Making it work on OBS
  • Adding variable to modify the pharo script
  • Merge branch 'headless' into obs-final-shandaun
  • Removing unused dependency
  • Testing FFI on Win32
  • Fixing the build in unix
  • Merge branch 'headless' into gc-tests
  • Generating 32 and 64 bits source code at the same time.
  • Adding author guard
  • Fixing the CMake variables
  • Fixing IA32ABI plugin
  • Fixing the upload of files
  • Fixing stockReplacement
  • Fix stash and unstash
  • Having compatibility with Debian 9
  • Merge branch 'headless' into obs-final-shandaun
  • Merge branch 'obs-final-shandaun' of https://github.com/tesonep/opensmalltalk-vm into obs-final-shandaun
  • Fixing the semantic difference between add_definitions and add_compiler_definitions
  • Fixing the macros to work with older versions of CMake
  • Removing unused option
  • Changing to CoInterpreter flavour
  • The BIN Path is different depending where we are
  • Do not need to specify output directory
  • WIN64 => _Win32
  • Make FFI Test Library compile under clang-cl
  • clang cl does not need to redefine sigjmp
  • Cut addLibraryWithRPATH with addIndependentLibraryWithRPATH
  • Remove target directory from add_third_party_dependency calls
  • Do not compile sigjmp alternative versions if clang.
  • Add stack description for x86
  • Fixing ASN1_STRING_get0_data not available in older versions
  • Getting the full path of the VM executable on windows requires using GetModuleFileName to get the unicode version of it
  • Merge pull request #146 from tesonep/obs-final-shandaun
  • Using mirror repositories for libffi and SDL2
  • [cleanup] use #baseHeader insteand of #longAt: variants
  • Merge pull request #121 from pharo-project/gc-tests
  • Making tests green
  • First Lowcode removal
  • Cleanups of lowcode Class var usages
  • More Cleanups
  • More lowcode related cleanups
  • More cleanups
  • Merge remote-tracking branch 'origin/headless' into enh/stack-windows-arm64
  • Merge remote-tracking branch 'origin/headless' into enh/stack-windows-arm64
  • Pass on install paths
  • Make libffi available in the bundle
  • Avoid treating AIO event twice
  • Merge pull request #149 from guillep/cleanup/lowcode
  • Fix conditionals
  • Merge pull request #147 from guillep/enh/stack-windows-arm64
  • Merge pull request #150 from guillep/fix/aio
  • Fix message
  • Merge pull request #151 from gstraube/patch-1
  • Merge pull request #148 from hogoww/gc-tests
  • Merge pull request #145 from hogoww/methodOopSetsLocalVar
  • Merge branch 'headless' into Introduce-CMakeSettings-json-template
  • Merge pull request #142 from bencoman/Introduce-CMakeSettings-json-template
  • More manual CMakeSettings management.

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] More manual cmake settings management (#543)

David T Lewis
 

Closed #543.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543#event-4147368537", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543#event-4147368537", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] More manual cmake settings management (#543)

David T Lewis
In reply to this post by David T Lewis
 

whoops


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543#issuecomment-750872455", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/543#issuecomment-750872455", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>