Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P parabix-devel
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cameron
  • parabix-devel
  • Merge requests
  • !12

Merged
Created Jan 18, 2020 by Jeremy Schwartz@jdschwarDeveloper

New Artifact Build Options

  • Overview 0
  • Commits 2
  • Changes 3

Removes the BUILD_SHARED_LIBS and BUILD_SINGLE_SHARED_LIB cmake build options and replaces them with ARTIFACT_MODE and ARTIFACT_TYPE. Reason for the change is that I have a little side project I'm working on and I was having trouble with the LLVM command line arguments when trying to link to link with Parabix from an external project (probably something that should be looked into). I was able to work around the issue by compiling the framework as a single static library which this changes now allows for.

  • ARTIFACT_MODE (valid values Single or Multiple, with Multiple being the default) denotes whether the framework is built as a single library or a bunch of smaller libraries.
  • ARTIFACT_TYPE (valid values Static or Shared, with Static being the default) denotes the type of the libraries being built. Static will produce static (*.a) libraries and Shared will produce dynamic (*.so on Linux or *.dylib on macOS).

The file name for the single framework library has also been changed from libparabix_framwork.a (.so/.dylib for shared) to just libparabix.a.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: new-artifact-build-options