<feed xmlns='http://www.w3.org/2005/Atom'>
<title>erlang.mk.git/test/plugin_c_src.mk, branch work-20241127</title>
<subtitle>A build tool for Erlang that just works.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/'/>
<entry>
<title>Greatly speed up test speed with -j</title>
<updated>2024-11-13T16:23:22+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-13T16:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=e903cc89c5cc389305ee8dc0b15a8db250de1b37'/>
<id>e903cc89c5cc389305ee8dc0b15a8db250de1b37</id>
<content type='text'>
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.

  make check -j8 -k  5790,16s user 1207,08s system 627% cpu 18:35,49 total
  make check -j8 -k  6250,13s user 1326,77s system 972% cpu 12:59,16 total
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.

  make check -j8 -k  5790,16s user 1207,08s system 627% cpu 18:35,49 total
  make check -j8 -k  6250,13s user 1326,77s system 972% cpu 12:59,16 total
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for static NIF compilation</title>
<updated>2023-05-15T11:42:52+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2023-05-15T11:42:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a79d0c00534584ffdefd3179256cac8e34b4febe'/>
<id>a79d0c00534584ffdefd3179256cac8e34b4febe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT</title>
<updated>2018-12-07T18:40:02+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-12-07T18:40:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a3cd50792d0ed1c5dfee66ff79ee7117057e9970'/>
<id>a3cd50792d0ed1c5dfee66ff79ee7117057e9970</id>
<content type='text'>
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rebuild C projects when Makefiles change</title>
<updated>2018-11-29T08:33:07+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-29T08:33:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=f943ca241be408177be5d0cfae9815dc87ecffb9'/>
<id>f943ca241be408177be5d0cfae9815dc87ecffb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't try to create a nif if n wasn't provided</title>
<updated>2018-11-24T10:21:13+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-24T10:21:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a63a34077cd001edee2e2b683d7721058f7f9f31'/>
<id>a63a34077cd001edee2e2b683d7721058f7f9f31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't list test cases manually anymore</title>
<updated>2018-05-14T15:01:16+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-05-14T15:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ce0160ead3306313d85debc951e8f96e8e553d53'/>
<id>ce0160ead3306313d85debc951e8f96e8e553d53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify cleaning in the test suite</title>
<updated>2015-12-24T15:51:18+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2015-12-24T15:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=51e1c5bc128a61831d03e585a8903f4621fcf2d6'/>
<id>51e1c5bc128a61831d03e585a8903f4621fcf2d6</id>
<content type='text'>
Not only simpler but also faster, especially on Windows.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not only simpler but also faster, especially on Windows.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make some rm -rf commands safer</title>
<updated>2015-12-15T10:42:07+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2015-12-15T10:42:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=2cabf98110c8e58e8bea04149a081ca899be16d0'/>
<id>2cabf98110c8e58e8bea04149a081ca899be16d0</id>
<content type='text'>
This way if for some unknown reason $(APP_TO_CLEAN) isn't
defined, we don't delete the entire world.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way if for some unknown reason $(APP_TO_CLEAN) isn't
defined, we don't delete the entire world.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix compilation of NIFs on Windows</title>
<updated>2015-12-14T17:37:56+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2015-12-14T17:35:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=4ea38e2319482b316a474d6fc82876e6fdcd7911'/>
<id>4ea38e2319482b316a474d6fc82876e6fdcd7911</id>
<content type='text'>
Thanks to two users of the ninenines/esdl2 project,
a correct way to build NIFs on Windows has been found.

At the moment we require a specific compiler (MingW's
gcc). Maybe we can change this in the future and allow
Visual Studio and others.

Some small changes have been made to the documentation,
and the meaning of one configuration variable has changed
to not include the extension (which is decided automatically
by Erlang.mk; and configurable separately).

Enjoy!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to two users of the ninenines/esdl2 project,
a correct way to build NIFs on Windows has been found.

At the moment we require a specific compiler (MingW's
gcc). Maybe we can change this in the future and allow
Visual Studio and others.

Some small changes have been made to the documentation,
and the meaning of one configuration variable has changed
to not include the extension (which is decided automatically
by Erlang.mk; and configurable separately).

Enjoy!
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix small issue with c-src tests</title>
<updated>2015-10-27T22:49:46+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2015-10-27T22:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=b7ccb2ec7b6a849f57357857c5fec4603a3899bb'/>
<id>b7ccb2ec7b6a849f57357857c5fec4603a3899bb</id>
<content type='text'>
Main test Makefile expects "c_src" but for convenience I also
allow "c-src" and use that one as the prefix for the tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Main test Makefile expects "c_src" but for convenience I also
allow "c-src" and use that one as the prefix for the tests.
</pre>
</div>
</content>
</entry>
</feed>
