Skip to content

Commit

Permalink
[ci skip] Knutel/peter d cmake include fixes (#397)
Browse files Browse the repository at this point in the history
Overview
--------
Overhaul of MAP build system and included proper support for installation
Updated Documentation
Updated/Cleaned up Argos and simplified build system
Various bug fixes

Details
-------

* simpler boost detection on mac
* cmake clean up: target specific include paths
* boost 1.76
* boost 1.72 specific magic no longer needed
* Moved reliance on include paths back to sparta.cmake file
* Made simdb include a private include
* PUBLIC includes for Sparta and SimDB to pass to regression
* cmake file to enable find_package(Sparta) in other projects
* make sure core setup.py actually uses the interpreter found by find_package(PythonInterp)
* more modern way to find python3, hopefully also robust in conda/venv
* cleaner cmake for testing macros for simdb and sparta
* helios build now using FindSparta.cmake
* pipeviewer cannot use find_package(sparta), which only works once installed
* installing all py files and libs but module paths don't work yet after install
* simpler setup for cython build - working for transactiondb, rest todo
* cleaner HDF5 libs config for sparta
* Documentation cleanup
* Major overhaul of how argos ties into cmake
* cmake pushes all config into setuptools via setup.cfg where possible
  (such that all found libs in cmake and sparta deps are automatically
  in sync with rest of the build)
* python setup.py then manages the cythonized build *and* installation
  of all python files by doing python setup.py install
* Cleaned up all python imports so they are relative imports (previously
  mixed absolute vs relative which breaks when you install the package)
* relocated some of the cython files in the source tree for easier build
  and install
* Fixed static method calls w/o object
* Move __is_mac_os and __gen_message outside of the ShortcutHelp class
* Clean up flake8 errors
* make sure setuptools and cython use the right C/CXX/LD
* proper dependencies for setup.py
* gui script vs console script: should properly call pythonw
* build argos_dumper again
* _ vs __ otherwise cannot find the free helper functions in the class
* Move sparta library target towards the end of sparta/CMakeLists.txt so
it picks up all of the compile/link flags
Bump required Boost version down to 1.74 so we can build on default Ubuntu environment
* Pass CMAKE_INSTALL_PREFIX to setup.py install
	- Enables installing package to a non-default directory
* Add Github workflow to run linters on Argos
Reorganize mypy stubs and .ini locations to work with relative imports
in Argos
Use pip instead of (deprecated) setup.py install to install Argos
    - Also properly handle non-default install prefix
* Set a a CMAKE_MACRO file path for the testers; allows sparta build anywhere
* Update README.md for Conda on MacOS
* seperated build for sparta and helios folder
* Updated README and build rules for new layout
* Fixed bad dir path in regression
* Renamed DatabaseDump tool
* Added missing rt library for Linux builds
* Put in check for CPP check module
* Fixed new compilation issue with HDF test
* ANOTHER HDF5 test fix
* Forced HDF5 test to be C++ testing
* Removed rt library link
* ONE more tweak: use CXX version of HDF5
* Fixed formatting
* Updated README with install directions

---------

Co-authored-by: Peter Debacker <[email protected]>
Co-authored-by: Brett Dutro <[email protected]>
Co-authored-by: Benoy Alexander <[email protected]> 4033e18
  • Loading branch information
3 people committed Mar 13, 2023
0 parents commit 93120f5
Show file tree
Hide file tree
Showing 7,758 changed files with 595,482 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file added .nojekyll
Empty file.
121 changes: 121 additions & 0 deletions AddressTypes_8hpp_source.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>The Sparta Modeling Framework: /github/workspace/sparta/sparta/memory/AddressTypes.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">The Sparta Modeling Framework
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('AddressTypes_8hpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
<div class="headertitle"><div class="title">AddressTypes.hpp</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &lt;inttypes.h&gt;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacesparta.html">sparta</a></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span>{</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="namespacesparta_1_1memory.html"> 18</a></span> <span class="keyword">namespace </span>memory</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="namespacesparta_1_1memory.html#abf087efa080d7cc51647e4920b42a401"> 24</a></span> <span class="keyword">typedef</span> uint64_t <a class="code hl_typedef" href="namespacesparta_1_1memory.html#abf087efa080d7cc51647e4920b42a401">addr_t</a>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> }</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>}</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="ttc" id="anamespacesparta_1_1memory_html_abf087efa080d7cc51647e4920b42a401"><div class="ttname"><a href="namespacesparta_1_1memory.html#abf087efa080d7cc51647e4920b42a401">sparta::memory::addr_t</a></div><div class="ttdeci">uint64_t addr_t</div><div class="ttdoc">Type for generic address representation in generic interfaces, errors and printouts within SPARTA.</div><div class="ttdef"><b>Definition:</b> <a href="AddressTypes_8hpp_source.html#l00024">AddressTypes.hpp:24</a></div></div>
<div class="ttc" id="anamespacesparta_html"><div class="ttname"><a href="namespacesparta.html">sparta</a></div><div class="ttdoc">Macros for handling exponential backoff.</div><div class="ttdef"><b>Definition:</b> <a href="AppTriggers_8hpp_source.html#l00022">AppTriggers.hpp:22</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="dir_8b51add0bc6ff831487a715a42aa15b5.html">sparta</a></li><li class="navelem"><a class="el" href="dir_0bb6ef4f907893969cd995f358275e60.html">memory</a></li><li class="navelem"><b>AddressTypes.hpp</b></li>
<li class="footer">Generated on Mon Mar 13 2023 20:52:20 for The Sparta Modeling Framework by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
</ul>
</div>
</body>
</html>
Loading

0 comments on commit 93120f5

Please sign in to comment.